public class TileEntityMobSpawner extends TileEntity implements ITickable
| Modifier and Type | Field and Description |
|---|---|
private MobSpawnerBaseLogic |
spawnerLogic |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world| Constructor and Description |
|---|
TileEntityMobSpawner() |
| Modifier and Type | Method and Description |
|---|---|
MobSpawnerBaseLogic |
getSpawnerBaseLogic() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
onlyOpsCanSetNbt() |
void |
readFromNBT(NBTTagCompound compound) |
boolean |
receiveClientEvent(int id,
int type) |
static void |
registerFixesMobSpawner(DataFixer fixer) |
void |
update() |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateprivate final MobSpawnerBaseLogic spawnerLogic
public static void registerFixesMobSpawner(DataFixer fixer)
public void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntity@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic boolean receiveClientEvent(int id,
int type)
receiveClientEvent in class TileEntitypublic boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt in class TileEntitypublic MobSpawnerBaseLogic getSpawnerBaseLogic()