Class BlockClimbable

Direct Known Subclasses:
BlockLadder, BlockVine

public abstract class BlockClimbable extends BlockType
  • Constructor Details

    • BlockClimbable

      public BlockClimbable()
  • Method Details

    • canPlaceAt

      public boolean canPlaceAt(GlowPlayer player, GlowBlock block, org.bukkit.block.BlockFace against)
      Description copied from class: BlockType
      Check whether the block can be placed at the given location.
      Overrides:
      canPlaceAt in class BlockType
      Parameters:
      player - The player who placed the block.
      block - The location the block is being placed at.
      against - The face the block is being placed against.
      Returns:
      Whether the placement is valid.
    • isTargetOccluding

      protected boolean isTargetOccluding(GlowBlockState state, org.bukkit.block.BlockFace face)
    • isTargetOccluding

      protected boolean isTargetOccluding(GlowBlock block, org.bukkit.block.BlockFace face)