public class TileEntityMobSpawner extends TileEntity implements ITickable
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()
Like the old updateEntity(), except more generic.
|
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, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic static void registerFixesMobSpawner(DataFixer fixer)
public void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void update()
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()