YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.inventory.InventoryEnderChest Class Reference
Inheritance diagram for net.minecraft.inventory.InventoryEnderChest:
net.minecraft.inventory.InventoryBasic net.minecraft.inventory.IInventory

Public Member Functions

 InventoryEnderChest ()
 
void setAssociatedChest (TileEntityEnderChest par1TileEntityEnderChest)
 
void loadInventoryFromNBT (NBTTagList par1NBTTagList)
 
NBTTagList saveInventoryToNBT ()
 
boolean isUseableByPlayer (EntityPlayer par1EntityPlayer)
 
void openChest ()
 
void closeChest ()
 
boolean isStackValidForSlot (int par1, ItemStack par2ItemStack)
 
- Public Member Functions inherited from net.minecraft.inventory.InventoryBasic
 InventoryBasic (String par1Str, boolean par2, int par3)
 
ItemStack getStackInSlot (int par1)
 
ItemStack decrStackSize (int par1, int par2)
 
ItemStack getStackInSlotOnClosing (int par1)
 
void setInventorySlotContents (int par1, ItemStack par2ItemStack)
 
int getSizeInventory ()
 
String getInvName ()
 
boolean isInvNameLocalized ()
 
int getInventoryStackLimit ()
 
void onInventoryChanged ()
 
boolean isUseableByPlayer (EntityPlayer par1EntityPlayer)
 
void openChest ()
 
void closeChest ()
 
boolean isStackValidForSlot (int par1, ItemStack par2ItemStack)
 

Constructor & Destructor Documentation

net.minecraft.inventory.InventoryEnderChest.InventoryEnderChest ( )

Member Function Documentation

void net.minecraft.inventory.InventoryEnderChest.closeChest ( )
boolean net.minecraft.inventory.InventoryEnderChest.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.inventory.InventoryEnderChest.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.inventory.InventoryEnderChest.loadInventoryFromNBT ( NBTTagList  par1NBTTagList)
void net.minecraft.inventory.InventoryEnderChest.openChest ( )
NBTTagList net.minecraft.inventory.InventoryEnderChest.saveInventoryToNBT ( )
void net.minecraft.inventory.InventoryEnderChest.setAssociatedChest ( TileEntityEnderChest  par1TileEntityEnderChest)

The documentation for this class was generated from the following file: