net.minecraft.src
Class ContainerChest
java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerChest
public class ContainerChest
- extends Container
Methods inherited from class net.minecraft.src.Container |
addCraftingToCrafters, enchantItem, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, setPlayerIsPresent, slotClick, updateCraftingResults, updateProgressBar |
ContainerChest
public ContainerChest(IInventory par1IInventory,
IInventory par2IInventory)
canInteractWith
public boolean canInteractWith(EntityPlayer par1EntityPlayer)
- Specified by:
canInteractWith
in class Container
transferStackInSlot
public ItemStack transferStackInSlot(int par1)
- Called to transfer a stack from one inventory to the other eg. when shift clicking.
- Overrides:
transferStackInSlot
in class Container
onCraftGuiClosed
public void onCraftGuiClosed(EntityPlayer par1EntityPlayer)
- Callback for when the crafting gui is closed.
- Overrides:
onCraftGuiClosed
in class Container