Class PathBlock

java.lang.Object
de.metaphoriker.pathetic.api.wrapper.PathBlock

public final class PathBlock extends Object
A Class to represent a block in the world, except exempt of Bukkit
  • Constructor Details

    • PathBlock

      public PathBlock()
  • Method Details

    • isAir

      public boolean isAir()
      Returns:
      Whether the block is air
    • isPassable

      public boolean isPassable()
      Returns:
      Whether the block is possible to walk through
    • isSolid

      public boolean isSolid()
      Returns:
      Whether the block is solid
    • getBlockX

      public int getBlockX()
      Gets the X coordinate of the block
      Returns:
      The X coordinate of the block
    • getBlockY

      public int getBlockY()
      Gets the Y coordinate of the block
      Returns:
      The Y coordinate of the block
    • getBlockZ

      public int getBlockZ()
      Gets the Z coordinate of the block
      Returns:
      The Z coordinate of the block