YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.inventory.ISidedInventory Interface Reference
Inheritance diagram for net.minecraft.inventory.ISidedInventory:
net.minecraft.inventory.IInventory net.minecraft.tileentity.TileEntityBrewingStand net.minecraft.tileentity.TileEntityFurnace

Public Member Functions

int[] getAccessibleSlotsFromSide (int var1)
 
boolean canInsertItem (int i, ItemStack itemstack, int j)
 
boolean canExtractItem (int i, ItemStack itemstack, int j)
 
- Public Member Functions inherited from net.minecraft.inventory.IInventory
int getSizeInventory ()
 
ItemStack getStackInSlot (int i)
 
ItemStack decrStackSize (int i, int j)
 
ItemStack getStackInSlotOnClosing (int i)
 
void setInventorySlotContents (int i, ItemStack itemstack)
 
String getInvName ()
 
boolean isInvNameLocalized ()
 
int getInventoryStackLimit ()
 
void onInventoryChanged ()
 
boolean isUseableByPlayer (EntityPlayer entityplayer)
 
void openChest ()
 
void closeChest ()
 
boolean isStackValidForSlot (int i, ItemStack itemstack)
 

Member Function Documentation

boolean net.minecraft.inventory.ISidedInventory.canExtractItem ( int  i,
ItemStack  itemstack,
int  j 
)

Returns true if automation can extract the given item in the given slot from the given side. Args: Slot, item, side

Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.

boolean net.minecraft.inventory.ISidedInventory.canInsertItem ( int  i,
ItemStack  itemstack,
int  j 
)

Returns true if automation can insert the given item in the given slot from the given side. Args: Slot, item, side

Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.

int [] net.minecraft.inventory.ISidedInventory.getAccessibleSlotsFromSide ( int  var1)

Returns an array containing the indices of the slots that can be accessed by automation on the given side of this block.

Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.


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