public class ContainerEnchantment extends Container
| Modifier and Type | Field and Description |
|---|---|
int[] |
enchantLevels |
long |
nameSeed |
IInventory |
tableInventory |
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerEnchantment(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCraftingToCrafters(ICrafting par1ICrafting) |
boolean |
canInteractWith(EntityPlayer par1EntityPlayer) |
void |
detectAndSendChanges() |
boolean |
enchantItem(EntityPlayer par1EntityPlayer,
int par2) |
void |
onContainerClosed(EntityPlayer par1EntityPlayer) |
void |
onCraftMatrixChanged(IInventory par1IInventory) |
ItemStack |
transferStackInSlot(EntityPlayer par1EntityPlayer,
int par2) |
void |
updateProgressBar(int par1,
int par2) |
addSlotToContainer, calcRedstoneFromInventory, canDragIntoSlot, 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, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClickpublic IInventory tableInventory
public long nameSeed
public int[] enchantLevels
public ContainerEnchantment(InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5)
public void addCraftingToCrafters(ICrafting par1ICrafting)
addCraftingToCrafters in class Containerpublic void detectAndSendChanges()
detectAndSendChanges in class Containerpublic void updateProgressBar(int par1,
int par2)
updateProgressBar in class Containerpublic void onCraftMatrixChanged(IInventory par1IInventory)
onCraftMatrixChanged in class Containerpublic boolean enchantItem(EntityPlayer par1EntityPlayer, int par2)
enchantItem in class Containerpublic void onContainerClosed(EntityPlayer par1EntityPlayer)
onContainerClosed in class Containerpublic boolean canInteractWith(EntityPlayer par1EntityPlayer)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2)
transferStackInSlot in class Container