public class BlockDropper extends BlockDispenser
ItemType.Context
ADJACENT, 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, updatePhysicsAfterEvent
blockInteract, getBlockDrops, getContentDrops, getDrops, getMinedDrops
afterDestroy, blockDestroy, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onRedstoneUpdate, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, warnMaterialData
getContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toString
public BlockEntity createBlockEntity(GlowChunk chunk, int cx, int cy, int cz)
BlockType
createBlockEntity
in class BlockDispenser
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.protected MaterialMatcher getNeededMiningTool(GlowBlock block)
getNeededMiningTool
in class BlockDispenser
Copyright © 2021. All rights reserved.