Package net.minecraft.src
Class ContainerEnchantment
- java.lang.Object
-
- net.minecraft.src.Container
-
- net.minecraft.src.ContainerEnchantment
-
public class ContainerEnchantment extends Container
-
-
Field Summary
Fields Modifier and Type Field Description int[]
enchantLevels
long
nameSeed
IInventory
tableInventory
-
Fields inherited from class net.minecraft.src.Container
crafters, inventoryItemStacks, inventorySlots, windowId
-
-
Constructor Summary
Constructors Constructor Description ContainerEnchantment(InventoryPlayer var1, World var2, int var3, int var4, int var5)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canInteractWith(Player var1)
boolean
enchantItem(Player var1, int var2)
void
onCraftGuiClosed(Player var1)
void
onCraftGuiOpened(ICrafting var1)
void
onCraftMatrixChanged(IInventory var1)
ItemStack
transferStackInSlot(int var1)
void
updateCraftingResults()
void
updateProgressBar(int var1, int var2)
-
Methods inherited from class net.minecraft.src.Container
addSlot, func_20110_b, func_20113_a, func_20127_a, func_28127_b, getCanCraft, getInventory, getNextTransactionID, getSlot, mergeItemStack, putStackInSlot, putStacksInSlots, retrySlotClick, setCanCraft, slotClick
-
-
-
-
Field Detail
-
tableInventory
public IInventory tableInventory
-
nameSeed
public long nameSeed
-
enchantLevels
public int[] enchantLevels
-
-
Constructor Detail
-
ContainerEnchantment
public ContainerEnchantment(InventoryPlayer var1, World var2, int var3, int var4, int var5)
-
-
Method Detail
-
onCraftGuiOpened
public void onCraftGuiOpened(ICrafting var1)
- Overrides:
onCraftGuiOpened
in classContainer
-
updateCraftingResults
public void updateCraftingResults()
- Overrides:
updateCraftingResults
in classContainer
-
updateProgressBar
@Client public void updateProgressBar(int var1, int var2)
- Overrides:
updateProgressBar
in classContainer
-
onCraftMatrixChanged
public void onCraftMatrixChanged(IInventory var1)
- Overrides:
onCraftMatrixChanged
in classContainer
-
enchantItem
public boolean enchantItem(Player var1, int var2)
- Overrides:
enchantItem
in classContainer
-
onCraftGuiClosed
public void onCraftGuiClosed(Player var1)
- Overrides:
onCraftGuiClosed
in classContainer
-
canInteractWith
public boolean canInteractWith(Player var1)
- Specified by:
canInteractWith
in classContainer
-
transferStackInSlot
public ItemStack transferStackInSlot(int var1)
- Overrides:
transferStackInSlot
in classContainer
-
-