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

Public Member Functions

int getStartInventorySide (ForgeDirection side)
 
int getSizeInventorySide (ForgeDirection side)
 
- 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)
 

Detailed Description

Inventory ranges mapped by side. This class is implemented by TileEntities that provide different inventory slot ranges to different sides.

Member Function Documentation

int net.minecraftforge.common.ISidedInventory.getSizeInventorySide ( ForgeDirection  side)

Get the size of the side inventory.

Parameters
sideThe global side.

Implemented in net.minecraft.tileentity.TileEntityFurnace.

int net.minecraftforge.common.ISidedInventory.getStartInventorySide ( ForgeDirection  side)

Get the start of the side inventory.

Parameters
sideThe global side to get the start of range.

Implemented in net.minecraft.tileentity.TileEntityFurnace.


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