public class BlockMobSpawner extends BlockDropless
ItemType.Context
ADJACENT, 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.
|
getDrops
afterDestroy, 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, 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 BlockType
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.Copyright © 2021. All rights reserved.