Package btw.inventory.container
Class PlayerContainer
java.lang.Object
net.minecraft.src.Container
net.minecraft.src.ContainerPlayer
btw.inventory.container.PlayerContainer
-
Field Summary
Fields inherited from class net.minecraft.src.ContainerPlayer
craftMatrix, craftResult, isLocalWorldFields inherited from class net.minecraft.src.Container
crafters, inventoryItemStacks, inventorySlots, windowId -
Constructor Summary
ConstructorsConstructorDescriptionPlayerContainer(InventoryPlayer inventory, boolean bNotRemote, EntityPlayer player) -
Method Summary
Modifier and TypeMethodDescriptiontransferStackInSlot(EntityPlayer player, int iSlotClicked) Called when a player shift-clicks on a slot.Methods inherited from class net.minecraft.src.ContainerPlayer
canInteractWith, func_94530_a, getPlayer, onContainerClosed, onCraftMatrixChangedMethods 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_94532_c, func_94533_d, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, mergeItemStack, mergeItemStackFavoringHotbar, onCraftGuiOpened, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClick, updateProgressBar
-
Constructor Details
-
PlayerContainer
-
-
Method Details
-
transferStackInSlot
Description copied from class:ContainerPlayerCalled when a player shift-clicks on a slot. You must override this or you will crash when someone does that.- Overrides:
transferStackInSlotin classContainerPlayer
-