|
World | getWorldObj () |
|
void | setWorldObj (World par1World) |
|
boolean | func_70309_m () |
|
void | readFromNBT (NBTTagCompound par1NBTTagCompound) |
|
void | writeToNBT (NBTTagCompound par1NBTTagCompound) |
|
void | updateEntity () |
|
int | getBlockMetadata () |
|
void | onInventoryChanged () |
|
double | getDistanceFrom (double par1, double par3, double par5) |
|
double | getMaxRenderDistanceSquared () |
|
Block | getBlockType () |
|
Packet | getDescriptionPacket () |
|
boolean | isInvalid () |
|
void | invalidate () |
|
void | validate () |
|
boolean | receiveClientEvent (int par1, int par2) |
|
void | updateContainingBlockInfo () |
|
void | func_85027_a (CrashReportCategory par1CrashReportCategory) |
|
boolean | canUpdate () |
|
void | onDataPacket (INetworkManager net, Packet132TileEntityData pkt) |
|
void | onChunkUnload () |
|
boolean | shouldRefresh (int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z) |
|
boolean | shouldRenderInPass (int pass) |
|
AxisAlignedBB | getRenderBoundingBox () |
|
static void net.minecraft.tileentity.TileEntity.addMapping |
( |
Class |
par0Class, |
|
|
String |
par1Str |
|
) |
| |
|
static |
Adds a new two-way mapping between the class and its string name in both hashmaps.
boolean net.minecraft.tileentity.TileEntity.canUpdate |
( |
) | |
|
Creates a new entity and loads its data from the specified NBT.
boolean net.minecraft.tileentity.TileEntity.func_70309_m |
( |
) | |
|
void net.minecraft.tileentity.TileEntity.func_85027_a |
( |
CrashReportCategory |
par1CrashReportCategory) | |
|
int net.minecraft.tileentity.TileEntity.getBlockMetadata |
( |
) | |
|
Returns block data at the location of this entity (client-only).
Block net.minecraft.tileentity.TileEntity.getBlockType |
( |
) | |
|
Gets the block type at the location of this entity (client-only).
Packet net.minecraft.tileentity.TileEntity.getDescriptionPacket |
( |
) | |
|
Overriden in a sign to provide the text.
double net.minecraft.tileentity.TileEntity.getDistanceFrom |
( |
double |
par1, |
|
|
double |
par3, |
|
|
double |
par5 |
|
) |
| |
Returns the square of the distance between this entity and the passed in coordinates.
double net.minecraft.tileentity.TileEntity.getMaxRenderDistanceSquared |
( |
) | |
|
AxisAlignedBB net.minecraft.tileentity.TileEntity.getRenderBoundingBox |
( |
) | |
|
World net.minecraft.tileentity.TileEntity.getWorldObj |
( |
) | |
|
Returns the worldObj for this tileEntity.
void net.minecraft.tileentity.TileEntity.invalidate |
( |
) | |
|
invalidates a tile entity
boolean net.minecraft.tileentity.TileEntity.isInvalid |
( |
) | |
|
returns true if tile entity is invalid, false otherwise
void net.minecraft.tileentity.TileEntity.onChunkUnload |
( |
) | |
|
Called when the chunk this TileEntity is on is Unloaded.
Called when you receive a TileEntityData packet for the location this TileEntity is currently in. On the client, the NetworkManager will always be the remote server. On the server, it will be whomever is responsible for sending the packet.
- Parameters
-
net | The NetworkManager the packet originated from |
pkt | The data packet |
void net.minecraft.tileentity.TileEntity.onInventoryChanged |
( |
) | |
|
Called when an the contents of an Inventory change, usually
void net.minecraft.tileentity.TileEntity.readFromNBT |
( |
NBTTagCompound |
par1NBTTagCompound) | |
|
Reads a tile entity from NBT.
boolean net.minecraft.tileentity.TileEntity.receiveClientEvent |
( |
int |
par1, |
|
|
int |
par2 |
|
) |
| |
Called when a client event is received with the event number and argument, see World.sendClientEvent
void net.minecraft.tileentity.TileEntity.setWorldObj |
( |
World |
par1World) | |
|
Sets the worldObj for this tileEntity.
boolean net.minecraft.tileentity.TileEntity.shouldRefresh |
( |
int |
oldID, |
|
|
int |
newID, |
|
|
int |
oldMeta, |
|
|
int |
newMeta, |
|
|
World |
world, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Called from Chunk.setBlockIDWithMetadata, determines if this tile entity should be re-created when the ID, or Metadata changes. Use with caution as this will leave straggler TileEntities, or create conflicts with other TileEntities if not used properly.
- Parameters
-
oldID | The old ID of the block |
newID | The new ID of the block (May be the same) |
oldMeta | The old metadata of the block |
newMeta | The new metadata of the block (May be the same) |
world | Current world |
x | X Postion |
y | Y Position |
z | Z Position |
- Returns
- True to remove the old tile entity, false to keep it in tact {and create a new one if the new values specify to}
boolean net.minecraft.tileentity.TileEntity.shouldRenderInPass |
( |
int |
pass) | |
|
void net.minecraft.tileentity.TileEntity.updateContainingBlockInfo |
( |
) | |
|
Causes the TileEntity to reset all it's cached values for it's container block, blockID, metaData and in the case of chests, the adjcacent chest check
void net.minecraft.tileentity.TileEntity.updateEntity |
( |
) | |
|
Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count ticks and creates a new spawn inside its implementation.
void net.minecraft.tileentity.TileEntity.validate |
( |
) | |
|
void net.minecraft.tileentity.TileEntity.writeToNBT |
( |
NBTTagCompound |
par1NBTTagCompound) | |
|
Writes a tile entity to NBT.
int net.minecraft.tileentity.TileEntity.blockMetadata = -1 |
Block net.minecraft.tileentity.TileEntity.blockType |
the Block type that this TileEntity is contained within
final AxisAlignedBB net.minecraft.tileentity.TileEntity.INFINITE_EXTENT_AABB = AxisAlignedBB.getBoundingBox(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY) |
|
static |
boolean net.minecraft.tileentity.TileEntity.tileEntityInvalid |
|
protected |
World net.minecraft.tileentity.TileEntity.worldObj |
The reference to the world.
int net.minecraft.tileentity.TileEntity.xCoord |
The x coordinate of the tile entity.
int net.minecraft.tileentity.TileEntity.yCoord |
The y coordinate of the tile entity.
int net.minecraft.tileentity.TileEntity.zCoord |
The z coordinate of the tile entity.
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/tileentity/TileEntity.java