Package net.minecraft.src
Class ContainerHopper
java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerHopper
-
Field Summary
Fields inherited from class net.minecraft.src.Container
crafters, inventoryItemStacks, inventorySlots, windowId -
Constructor Summary
ConstructorsConstructorDescriptionContainerHopper(InventoryPlayer par1InventoryPlayer, IInventory par2IInventory) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInteractWith(EntityPlayer par1EntityPlayer) voidonContainerClosed(EntityPlayer par1EntityPlayer) Called when the container is closed.transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) Called when a player shift-clicks on a slot.Methods inherited from class net.minecraft.src.Container
addSlotToContainer, attemptToMergeWithSlot, attemptToMergeWithSlotIfEmpty, calcRedstoneFromInventory, canDragIntoSlot, detectAndSendChanges, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94530_a, func_94532_c, func_94533_d, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, mergeItemStack, mergeItemStackFavoringHotbar, onCraftGuiOpened, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClick, updateProgressBar
-
Constructor Details
-
ContainerHopper
-
-
Method Details
-
canInteractWith
- Specified by:
canInteractWithin classContainer
-
transferStackInSlot
Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.- Overrides:
transferStackInSlotin classContainer
-
onContainerClosed
Called when the container is closed.- Overrides:
onContainerClosedin classContainer
-