Package net.minecraft.src
Interface IInventory
-
- All Known Implementing Classes:
InventoryBasic
,InventoryCrafting
,InventoryCraftResult
,InventoryLargeChest
,InventoryPlayer
,Minecart
,TileEntityBrewingStand
,TileEntityChest
,TileEntityDispenser
,TileEntityFurnace
public interface IInventory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeChest()
ItemStack
decrStackSize(int i, int j)
int
getInventoryStackLimit()
java.lang.String
getInvName()
int
getSizeInventory()
ItemStack
getStackInSlot(int i)
ItemStack
getStackInSlotOnClosing(int i)
boolean
isUseableByPlayer(Player entityplayer)
void
onInventoryChanged()
void
openChest()
void
setInventorySlotContents(int i, ItemStack itemstack)
-
-
-
Method Detail
-
getSizeInventory
int getSizeInventory()
-
getStackInSlot
ItemStack getStackInSlot(int i)
-
decrStackSize
ItemStack decrStackSize(int i, int j)
-
getStackInSlotOnClosing
ItemStack getStackInSlotOnClosing(int i)
-
setInventorySlotContents
void setInventorySlotContents(int i, ItemStack itemstack)
-
getInvName
java.lang.String getInvName()
-
getInventoryStackLimit
int getInventoryStackLimit()
-
onInventoryChanged
void onInventoryChanged()
-
isUseableByPlayer
boolean isUseableByPlayer(Player entityplayer)
-
openChest
void openChest()
-
closeChest
void closeChest()
-
-