public class MobSpawnerTileEntity extends TileEntity implements ITickableTileEntity
Modifier and Type | Field and Description |
---|---|
private AbstractSpawner |
spawnerLogic |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
MobSpawnerTileEntity() |
Modifier and Type | Method and Description |
---|---|
AbstractSpawner |
getSpawnerBaseLogic() |
SUpdateTileEntityPacket |
getUpdatePacket() |
CompoundNBT |
getUpdateTag() |
boolean |
onlyOpsCanSetNbt() |
void |
read(CompoundNBT compound) |
boolean |
receiveClientEvent(int id,
int type) |
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability, getCapability
private final AbstractSpawner spawnerLogic
public void read(CompoundNBT compound)
read
in class TileEntity
public CompoundNBT write(CompoundNBT compound)
write
in class TileEntity
public void tick()
tick
in interface ITickableTileEntity
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class TileEntity
public CompoundNBT getUpdateTag()
getUpdateTag
in class TileEntity
public boolean receiveClientEvent(int id, int type)
receiveClientEvent
in class TileEntity
public boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt
in class TileEntity
public AbstractSpawner getSpawnerBaseLogic()