public class TileEntityMobSpawner extends TileEntity implements ITickable
| Modifier and Type | Field and Description |
|---|---|
private MobSpawnerBaseLogic |
spawnerLogic |
blockType, pos, tileEntityInvalid, worldObj| Constructor and Description |
|---|
TileEntityMobSpawner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
func_183000_F() |
Packet |
getDescriptionPacket()
Allows for a specialized description packet to be created.
|
MobSpawnerBaseLogic |
getSpawnerBaseLogic() |
void |
readFromNBT(NBTTagCompound compound) |
boolean |
receiveClientEvent(int id,
int type) |
void |
update()
Like the old updateEntity(), except more generic.
|
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, createAndLoadEntity, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, setPos, setWorldObj, updateContainingBlockInfo, validateprivate final MobSpawnerBaseLogic spawnerLogic
public void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void update()
public Packet getDescriptionPacket()
getDescriptionPacket in class TileEntitypublic boolean receiveClientEvent(int id,
int type)
receiveClientEvent in class TileEntitypublic boolean func_183000_F()
func_183000_F in class TileEntitypublic MobSpawnerBaseLogic getSpawnerBaseLogic()