net.minecraftforge.common
Interface ISidedInventory

All Superinterfaces:
IInventory
All Known Implementing Classes:
TileEntityBrewingStand, TileEntityFurnace

public interface ISidedInventory
extends IInventory

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


Method Summary
 int getSizeInventorySide(ForgeDirection side)
          Get the size of the side inventory.
 int getStartInventorySide(ForgeDirection side)
          Get the start of the side inventory.
 
Methods inherited from interface net.minecraft.inventory.IInventory
closeChest, decrStackSize, getInventoryStackLimit, getInvName, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isUseableByPlayer, onInventoryChanged, openChest, setInventorySlotContents
 

Method Detail

getStartInventorySide

int getStartInventorySide(ForgeDirection side)
Get the start of the side inventory.

Parameters:
side - The global side to get the start of range.

getSizeInventorySide

int getSizeInventorySide(ForgeDirection side)
Get the size of the side inventory.

Parameters:
side - The global side.