Package net.minecraft.src
Class InventoryLargeChest
- java.lang.Object
-
- net.minecraft.src.InventoryLargeChest
-
- All Implemented Interfaces:
IInventory
public class InventoryLargeChest extends java.lang.Object implements IInventory
-
-
Constructor Summary
Constructors Constructor Description InventoryLargeChest(java.lang.String var1, IInventory var2, IInventory var3)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeChest()
ItemStack
decrStackSize(int var1, int var2)
int
getInventoryStackLimit()
java.lang.String
getInvName()
int
getSizeInventory()
ItemStack
getStackInSlot(int var1)
ItemStack
getStackInSlotOnClosing(int var1)
boolean
isUseableByPlayer(Player var1)
void
onInventoryChanged()
void
openChest()
void
setInventorySlotContents(int var1, ItemStack var2)
-
-
-
Constructor Detail
-
InventoryLargeChest
public InventoryLargeChest(java.lang.String var1, IInventory var2, IInventory var3)
-
-
Method Detail
-
getSizeInventory
public int getSizeInventory()
- Specified by:
getSizeInventory
in interfaceIInventory
-
getInvName
public java.lang.String getInvName()
- Specified by:
getInvName
in interfaceIInventory
-
getStackInSlot
public ItemStack getStackInSlot(int var1)
- Specified by:
getStackInSlot
in interfaceIInventory
-
decrStackSize
public ItemStack decrStackSize(int var1, int var2)
- Specified by:
decrStackSize
in interfaceIInventory
-
getStackInSlotOnClosing
public ItemStack getStackInSlotOnClosing(int var1)
- Specified by:
getStackInSlotOnClosing
in interfaceIInventory
-
setInventorySlotContents
public void setInventorySlotContents(int var1, ItemStack var2)
- Specified by:
setInventorySlotContents
in interfaceIInventory
-
getInventoryStackLimit
public int getInventoryStackLimit()
- Specified by:
getInventoryStackLimit
in interfaceIInventory
-
onInventoryChanged
public void onInventoryChanged()
- Specified by:
onInventoryChanged
in interfaceIInventory
-
isUseableByPlayer
public boolean isUseableByPlayer(Player var1)
- Specified by:
isUseableByPlayer
in interfaceIInventory
-
openChest
public void openChest()
- Specified by:
openChest
in interfaceIInventory
-
closeChest
public void closeChest()
- Specified by:
closeChest
in interfaceIInventory
-
-