|
YATS/Forge Documentation
|
Public Attributes | |
| boolean | adjacentChestChecked = false |
| TileEntityChest | adjacentChestZNeg |
| TileEntityChest | adjacentChestXPos |
| TileEntityChest | adjacentChestXNeg |
| TileEntityChest | adjacentChestZPosition |
| float | lidAngle |
| float | prevLidAngle |
| int | numUsingPlayers |
Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
| World | worldObj |
| int | xCoord |
| int | yCoord |
| int | zCoord |
| int | blockMetadata = -1 |
| Block | blockType |
Additional Inherited Members | |
Static Public Member Functions inherited from net.minecraft.tileentity.TileEntity | |
| static void | addMapping (Class par0Class, String par1Str) |
| static TileEntity | createAndLoadEntity (NBTTagCompound par0NBTTagCompound) |
Static Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
| static final AxisAlignedBB | INFINITE_EXTENT_AABB = AxisAlignedBB.getBoundingBox(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY) |
Protected Attributes inherited from net.minecraft.tileentity.TileEntity | |
| boolean | tileEntityInvalid |
| void net.minecraft.tileentity.TileEntityChest.checkForAdjacentChests | ( | ) |
Performs the check for adjacent chests to determine if this chest is double or not.
| void net.minecraft.tileentity.TileEntityChest.closeChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
| ItemStack net.minecraft.tileentity.TileEntityChest.decrStackSize | ( | int | par1, |
| int | par2 | ||
| ) |
Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.tileentity.TileEntityChest.func_94043_a | ( | String | par1Str) |
| int net.minecraft.tileentity.TileEntityChest.func_98041_l | ( | ) |
| int net.minecraft.tileentity.TileEntityChest.getInventoryStackLimit | ( | ) |
Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended. Isn't this more of a set than a get?
Implements net.minecraft.inventory.IInventory.
| String net.minecraft.tileentity.TileEntityChest.getInvName | ( | ) |
Returns the name of the inventory.
Implements net.minecraft.inventory.IInventory.
| int net.minecraft.tileentity.TileEntityChest.getSizeInventory | ( | ) |
Returns the number of slots in the inventory.
Implements net.minecraft.inventory.IInventory.
| ItemStack net.minecraft.tileentity.TileEntityChest.getStackInSlot | ( | int | par1) |
Returns the stack in slot i
Implements net.minecraft.inventory.IInventory.
| ItemStack net.minecraft.tileentity.TileEntityChest.getStackInSlotOnClosing | ( | int | par1) |
When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.tileentity.TileEntityChest.invalidate | ( | ) |
invalidates a tile entity
| boolean net.minecraft.tileentity.TileEntityChest.isInvNameLocalized | ( | ) |
If this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language. Otherwise it will be used directly.
Implements net.minecraft.inventory.IInventory.
| boolean net.minecraft.tileentity.TileEntityChest.isStackValidForSlot | ( | int | par1, |
| ItemStack | par2ItemStack | ||
| ) |
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
Implements net.minecraft.inventory.IInventory.
| boolean net.minecraft.tileentity.TileEntityChest.isUseableByPlayer | ( | EntityPlayer | par1EntityPlayer) |
Do not make give this method the name canInteractWith because it clashes with Container
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.tileentity.TileEntityChest.openChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.tileentity.TileEntityChest.readFromNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Reads a tile entity from NBT.
| boolean net.minecraft.tileentity.TileEntityChest.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.TileEntityChest.setInventorySlotContents | ( | int | par1, |
| ItemStack | par2ItemStack | ||
| ) |
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
Implements net.minecraft.inventory.IInventory.
| void net.minecraft.tileentity.TileEntityChest.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.TileEntityChest.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.TileEntityChest.writeToNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Writes a tile entity to NBT.
| boolean net.minecraft.tileentity.TileEntityChest.adjacentChestChecked = false |
Determines if the check for adjacent chests has taken place.
| TileEntityChest net.minecraft.tileentity.TileEntityChest.adjacentChestXNeg |
Contains the chest tile located adjacent to this one (if any)
| TileEntityChest net.minecraft.tileentity.TileEntityChest.adjacentChestXPos |
Contains the chest tile located adjacent to this one (if any)
| TileEntityChest net.minecraft.tileentity.TileEntityChest.adjacentChestZNeg |
Contains the chest tile located adjacent to this one (if any)
| TileEntityChest net.minecraft.tileentity.TileEntityChest.adjacentChestZPosition |
Contains the chest tile located adjacent to this one (if any)
| float net.minecraft.tileentity.TileEntityChest.lidAngle |
The current angle of the lid (between 0 and 1)
| int net.minecraft.tileentity.TileEntityChest.numUsingPlayers |
The number of players currently using this chest
| float net.minecraft.tileentity.TileEntityChest.prevLidAngle |
The angle of the lid last tick