public class BlockDropper extends BlockDispenser
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockDropper() |
| Modifier and Type | Method and Description |
|---|---|
BlockEntity |
createBlockEntity(GlowChunk chunk,
int cx,
int cy,
int cz)
Create a new block entity at the given location.
|
protected MaterialMatcher |
getNeededMiningTool(GlowBlock block) |
afterPlace, getDispensePosition, getFacing, onNearBlockChanged, placeBlock, trigger, updatePhysicsAfterEventblockInteract, getBlockDrops, getContentDrops, getDrops, getMinedDropsafterDestroy, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic BlockEntity createBlockEntity(GlowChunk chunk, int cx, int cy, int cz)
BlockTypecreateBlockEntity in class BlockDispenserchunk - 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.protected MaterialMatcher getNeededMiningTool(GlowBlock block)
getNeededMiningTool in class BlockDispenserCopyright © 2021. All rights reserved.