Package net.minecraft.src
Class InventoryCrafting
- java.lang.Object
-
- net.minecraft.src.InventoryCrafting
-
- All Implemented Interfaces:
IInventory
public class InventoryCrafting extends java.lang.Object implements IInventory
-
-
Constructor Summary
Constructors Constructor Description InventoryCrafting(Container var1, int var2, int 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
getStackInRowAndColumn(int var1, int var2)
ItemStack
getStackInSlot(int var1)
ItemStack
getStackInSlotOnClosing(int var1)
boolean
isUseableByPlayer(Player var1)
void
onInventoryChanged()
void
openChest()
void
setInventorySlotContents(int var1, ItemStack var2)
-
-
-
Constructor Detail
-
InventoryCrafting
public InventoryCrafting(Container var1, int var2, int var3)
-
-
Method Detail
-
getSizeInventory
public int getSizeInventory()
- Specified by:
getSizeInventory
in interfaceIInventory
-
getStackInSlot
public ItemStack getStackInSlot(int var1)
- Specified by:
getStackInSlot
in interfaceIInventory
-
getStackInRowAndColumn
public ItemStack getStackInRowAndColumn(int var1, int var2)
-
getInvName
public java.lang.String getInvName()
- Specified by:
getInvName
in interfaceIInventory
-
getStackInSlotOnClosing
public ItemStack getStackInSlotOnClosing(int var1)
- Specified by:
getStackInSlotOnClosing
in interfaceIInventory
-
decrStackSize
public ItemStack decrStackSize(int var1, int var2)
- Specified by:
decrStackSize
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
-
-