YATS/Forge Documentation
|
Protected Attributes | |
String | customName |
Protected Attributes inherited from net.minecraft.tileentity.TileEntity | |
boolean | tileEntityInvalid |
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) |
Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
World | worldObj |
int | xCoord |
int | yCoord |
int | zCoord |
int | blockMetadata = -1 |
Block | blockType |
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) |
int net.minecraft.tileentity.TileEntityDispenser.addItem | ( | ItemStack | par1ItemStack) |
Add item stack in first available inventory slot
void net.minecraft.tileentity.TileEntityDispenser.closeChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityDispenser.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.
int net.minecraft.tileentity.TileEntityDispenser.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.TileEntityDispenser.getInvName | ( | ) |
Returns the name of the inventory.
Implements net.minecraft.inventory.IInventory.
int net.minecraft.tileentity.TileEntityDispenser.getRandomStackFromInventory | ( | ) |
int net.minecraft.tileentity.TileEntityDispenser.getSizeInventory | ( | ) |
Returns the number of slots in the inventory.
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityDispenser.getStackInSlot | ( | int | par1) |
Returns the stack in slot i
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityDispenser.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.
boolean net.minecraft.tileentity.TileEntityDispenser.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.TileEntityDispenser.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.TileEntityDispenser.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.TileEntityDispenser.openChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
void net.minecraft.tileentity.TileEntityDispenser.readFromNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Reads a tile entity from NBT.
void net.minecraft.tileentity.TileEntityDispenser.setCustomName | ( | String | par1Str) |
void net.minecraft.tileentity.TileEntityDispenser.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.TileEntityDispenser.writeToNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Writes a tile entity to NBT.
|
protected |