Package net.glowstone.block.blocktype
Class BlockDropper
java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.blocktype.BlockType
net.glowstone.block.blocktype.BlockContainer
net.glowstone.block.blocktype.BlockDispenser
net.glowstone.block.blocktype.BlockDropper
-
Nested Class Summary
Nested classes/interfaces inherited from class net.glowstone.block.itemtype.ItemType
ItemType.Context
-
Field Summary
Fields inherited from class net.glowstone.block.blocktype.BlockType
ADJACENT, drops, placeSound, SIDES, soundGroup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateBlockEntity
(GlowChunk chunk, int cx, int cy, int cz) Create a new block entity at the given location.protected MaterialMatcher
getNeededMiningTool
(GlowBlock block) Methods inherited from class net.glowstone.block.blocktype.BlockDispenser
afterPlace, getDispensePosition, getFacing, onNearBlockChanged, placeBlock, trigger, updatePhysicsAfterEvent
Methods inherited from class net.glowstone.block.blocktype.BlockContainer
blockInteract, getBlockDrops, getContentDrops, getDrops, getMinedDrops
Methods inherited from class net.glowstone.block.blocktype.BlockType
afterDestroy, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getCastedBlockData, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, getSoundGroup, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, warnMaterialData
Methods inherited from class net.glowstone.block.itemtype.ItemType
getContext, getMaterial, getMaterials, getMaxStackSize, rightClickAir, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
-
Constructor Details
-
BlockDropper
public BlockDropper()
-
-
Method Details
-
createBlockEntity
Description copied from class:BlockType
Create a new block entity at the given location.- Overrides:
createBlockEntity
in classBlockDispenser
- 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
- Overrides:
getNeededMiningTool
in classBlockDispenser
-