Class BlockDropper


public class BlockDropper extends BlockDispenser
  • Constructor Details

    • BlockDropper

      public BlockDropper()
  • Method Details

    • createBlockEntity

      public BlockEntity createBlockEntity(GlowChunk chunk, int cx, int cy, int cz)
      Description copied from class: BlockType
      Create a new block entity at the given location.
      Overrides:
      createBlockEntity in class BlockDispenser
      Parameters:
      chunk - The chunk to create the block entity at.
      cx - The x coordinate in the chunk.
      cy - The y coordinate in the chunk.
      cz - The z coordinate in the chunk.
      Returns:
      The new BlockEntity, or null if no block entity is used.
    • getNeededMiningTool

      protected MaterialMatcher getNeededMiningTool(GlowBlock block)
      Overrides:
      getNeededMiningTool in class BlockDispenser