public class BlockMobSpawner extends BlockDropless
ItemType.ContextADJACENT, drops, placeSound, SIDES| Constructor and Description |
|---|
BlockMobSpawner() |
| 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.
|
getDropsafterDestroy, afterPlace, blockDestroy, blockInteract, canAbsorb, canOverride, canPlaceAt, canTickRandomly, getMinedDrops, getOppositeBlockFace, getPlaceAs, getPlaceSound, getPulseTickSpeed, isPulseOnce, leftClickBlock, onBlockChanged, onEntityStep, onNearBlockChanged, onRedstoneUpdate, placeBlock, receivePulse, requestPulse, rightClickBlock, setDrops, setPlaceSound, updateBlock, updatePhysics, updatePhysicsAfterEvent, warnMaterialDatagetContext, getId, getMaterial, getMaxStackSize, rightClickAir, setId, setMaterial, setMaxStackSize, setPlaceAs, setPlaceAs, toStringpublic BlockEntity createBlockEntity(GlowChunk chunk, int cx, int cy, int cz)
BlockTypecreateBlockEntity in class BlockTypechunk - 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.Copyright © 2021. All rights reserved.