Package btw.inventory.container
Class SoulforgeContainer
java.lang.Object
net.minecraft.src.Container
btw.inventory.container.SoulforgeContainer
-
Field Summary
FieldsFields inherited from class net.minecraft.src.Container
crafters, inventoryItemStacks, inventorySlots, windowId -
Constructor Summary
ConstructorsConstructorDescriptionSoulforgeContainer(InventoryPlayer inventoryplayer, World world, int i, int j, int k) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInteractWith(EntityPlayer entityplayer) voidonContainerClosed(EntityPlayer entityplayer) Called when the container is closed.voidonCraftMatrixChanged(IInventory iinventory) Callback for when the crafting matrix is changed.transferStackInSlot(EntityPlayer player, int iSlotClicked) 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, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClick, updateProgressBar
-
Field Details
-
craftMatrix
-
craftResult
-
-
Constructor Details
-
SoulforgeContainer
-
-
Method Details
-
onCraftMatrixChanged
Description copied from class:ContainerCallback for when the crafting matrix is changed.- Overrides:
onCraftMatrixChangedin classContainer
-
onContainerClosed
Description copied from class:ContainerCalled when the container is closed.- Overrides:
onContainerClosedin classContainer
-
canInteractWith
- Specified by:
canInteractWithin classContainer
-
transferStackInSlot
Description copied from class:ContainerCalled when a player shift-clicks on a slot. You must override this or you will crash when someone does that.- Overrides:
transferStackInSlotin classContainer
-