public class ContainerEnchantment extends Container
| Modifier and Type | Field and Description |
|---|---|
int[] |
enchantLevels |
int[] |
field_178151_h |
IInventory |
tableInventory |
int |
xpSeed |
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerEnchantment(InventoryPlayer playerInv,
World worldIn) |
ContainerEnchantment(InventoryPlayer playerInv,
World worldIn,
BlockPos pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCraftingToCrafters(ICrafting listener) |
boolean |
canInteractWith(EntityPlayer playerIn) |
void |
detectAndSendChanges() |
boolean |
enchantItem(EntityPlayer playerIn,
int id) |
int |
getLapisAmount() |
void |
onContainerClosed(EntityPlayer playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
void |
updateProgressBar(int id,
int data) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, extractDragMode, func_180610_a, func_94534_d, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setPlayerIsPresent, slotClickpublic IInventory tableInventory
public int xpSeed
public int[] enchantLevels
public int[] field_178151_h
public ContainerEnchantment(InventoryPlayer playerInv, World worldIn)
public ContainerEnchantment(InventoryPlayer playerInv, World worldIn, BlockPos pos)
public void addCraftingToCrafters(ICrafting listener)
addCraftingToCrafters in class Containerpublic void detectAndSendChanges()
detectAndSendChanges in class Containerpublic void updateProgressBar(int id,
int data)
updateProgressBar in class Containerpublic void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged in class Containerpublic boolean enchantItem(EntityPlayer playerIn, int id)
enchantItem in class Containerpublic int getLapisAmount()
public void onContainerClosed(EntityPlayer playerIn)
onContainerClosed in class Containerpublic boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot in class Container