|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.tileentity.TileEntity
net.minecraft.tileentity.TileEntityMobSpawner
public class TileEntityMobSpawner
Field Summary | |
---|---|
int |
delay
The stored delay before a new spawn. |
double |
yaw
|
double |
yaw2
|
Fields inherited from class net.minecraft.tileentity.TileEntity |
---|
blockMetadata, blockType, worldObj, xCoord, yCoord, zCoord |
Constructor Summary | |
---|---|
TileEntityMobSpawner()
|
Method Summary | |
---|---|
boolean |
anyPlayerInRange()
Returns true if there is a player in range (using World.getClosestPlayer) |
String |
func_92015_a()
|
Packet |
getDescriptionPacket()
Overriden in a sign to provide the text. |
Entity |
getMobEntity()
|
void |
readFromNBT(NBTTagCompound par1NBTTagCompound)
Reads a tile entity from NBT. |
void |
receiveClientEvent(int par1,
int par2)
Called when a client event is received with the event number and argument, see World.sendClientEvent |
void |
setMobID(String par1Str)
|
void |
updateEntity()
Allows the entity to update its state. |
void |
writeNBTTagsTo(Entity par1Entity)
|
void |
writeToNBT(NBTTagCompound par1NBTTagCompound)
Writes a tile entity to NBT. |
Methods inherited from class net.minecraft.tileentity.TileEntity |
---|
addMapping, canUpdate, createAndLoadEntity, func_70309_m, func_82115_m, func_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getWorldObj, invalidate, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, setWorldObj, shouldRefresh, updateContainingBlockInfo, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int delay
public double yaw
public double yaw2
Constructor Detail |
---|
public TileEntityMobSpawner()
Method Detail |
---|
public String func_92015_a()
public void setMobID(String par1Str)
public boolean anyPlayerInRange()
public void updateEntity()
updateEntity
in class TileEntity
public void writeNBTTagsTo(Entity par1Entity)
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
writeToNBT
in class TileEntity
public Entity getMobEntity()
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public void receiveClientEvent(int par1, int par2)
receiveClientEvent
in class TileEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |