net.minecraft.inventory
Class ContainerDispenser
java.lang.Object
net.minecraft.inventory.Container
net.minecraft.inventory.ContainerDispenser
public class ContainerDispenser
- extends Container
Methods inherited from class net.minecraft.inventory.Container |
addCraftingToCrafters, detectAndSendChanges, enchantItem, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, onCraftGuiClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, setPlayerIsPresent, slotClick, updateProgressBar |
ContainerDispenser
public ContainerDispenser(IInventory par1IInventory,
TileEntityDispenser par2TileEntityDispenser)
canInteractWith
public boolean canInteractWith(EntityPlayer par1EntityPlayer)
- Specified by:
canInteractWith
in class Container
transferStackInSlot
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2)
- Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.
- Overrides:
transferStackInSlot
in class Container