Class BlockFence


public class BlockFence extends BlockDirectDrops
  • Constructor Details

    • BlockFence

      public BlockFence(org.bukkit.Material dropType, MaterialMatcher neededTool)
    • BlockFence

      public BlockFence(org.bukkit.Material dropType)
  • Method Details

    • blockInteract

      public boolean blockInteract(GlowPlayer player, GlowBlock block, org.bukkit.block.BlockFace face, org.bukkit.util.Vector clickedLoc)
      Description copied from class: BlockType
      Called when a player attempts to interact with (right-click) a block of this type already in the world.
      Overrides:
      blockInteract in class BlockType
      Parameters:
      player - the player interacting
      block - the block interacted with
      face - the clicked face
      clickedLoc - where in the block the click occurred
      Returns:
      Whether the interaction occurred.