YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.inventory.ContainerRepair Class Reference
Inheritance diagram for net.minecraft.inventory.ContainerRepair:
net.minecraft.inventory.Container

Public Member Functions

 ContainerRepair (InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5, EntityPlayer par6EntityPlayer)
 
void onCraftMatrixChanged (IInventory par1IInventory)
 
void updateRepairOutput ()
 
void addCraftingToCrafters (ICrafting par1ICrafting)
 
void updateProgressBar (int par1, int par2)
 
void onCraftGuiClosed (EntityPlayer par1EntityPlayer)
 
boolean canInteractWith (EntityPlayer par1EntityPlayer)
 
ItemStack transferStackInSlot (EntityPlayer par1EntityPlayer, int par2)
 
void updateItemName (String par1Str)
 
- Public Member Functions inherited from net.minecraft.inventory.Container
void addCraftingToCrafters (ICrafting par1ICrafting)
 
List getInventory ()
 
void removeCraftingFromCrafters (ICrafting par1ICrafting)
 
void detectAndSendChanges ()
 
boolean enchantItem (EntityPlayer par1EntityPlayer, int par2)
 
Slot getSlotFromInventory (IInventory par1IInventory, int par2)
 
Slot getSlot (int par1)
 
ItemStack transferStackInSlot (EntityPlayer par1EntityPlayer, int par2)
 
ItemStack slotClick (int par1, int par2, int par3, EntityPlayer par4EntityPlayer)
 
boolean func_94530_a (ItemStack par1ItemStack, Slot par2Slot)
 
void onCraftGuiClosed (EntityPlayer par1EntityPlayer)
 
void onCraftMatrixChanged (IInventory par1IInventory)
 
void putStackInSlot (int par1, ItemStack par2ItemStack)
 
void putStacksInSlots (ItemStack[] par1ArrayOfItemStack)
 
void updateProgressBar (int par1, int par2)
 
short getNextTransactionID (InventoryPlayer par1InventoryPlayer)
 
boolean isPlayerNotUsingContainer (EntityPlayer par1EntityPlayer)
 
void setPlayerIsPresent (EntityPlayer par1EntityPlayer, boolean par2)
 
boolean func_94531_b (Slot par1Slot)
 

Public Attributes

int maximumCost = 0
 
- Public Attributes inherited from net.minecraft.inventory.Container
List inventoryItemStacks = new ArrayList()
 
List inventorySlots = new ArrayList()
 
int windowId = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.inventory.Container
static int func_94529_b (int par0)
 
static int func_94532_c (int par0)
 
static int func_94534_d (int par0, int par1)
 
static boolean func_94528_d (int par0)
 
static boolean func_94527_a (Slot par0Slot, ItemStack par1ItemStack, boolean par2)
 
static void func_94525_a (Set par0Set, int par1, ItemStack par2ItemStack, int par3)
 
static int calcRedstoneFromInventory (IInventory par0IInventory)
 
- Protected Member Functions inherited from net.minecraft.inventory.Container
Slot addSlotToContainer (Slot par1Slot)
 
void retrySlotClick (int par1, int par2, boolean par3, EntityPlayer par4EntityPlayer)
 
boolean mergeItemStack (ItemStack par1ItemStack, int par2, int par3, boolean par4)
 
void func_94533_d ()
 
- Protected Attributes inherited from net.minecraft.inventory.Container
List crafters = new ArrayList()
 

Constructor & Destructor Documentation

net.minecraft.inventory.ContainerRepair.ContainerRepair ( InventoryPlayer  par1InventoryPlayer,
World  par2World,
int  par3,
int  par4,
int  par5,
EntityPlayer  par6EntityPlayer 
)

Member Function Documentation

void net.minecraft.inventory.ContainerRepair.addCraftingToCrafters ( ICrafting  par1ICrafting)
boolean net.minecraft.inventory.ContainerRepair.canInteractWith ( EntityPlayer  par1EntityPlayer)
virtual
void net.minecraft.inventory.ContainerRepair.onCraftGuiClosed ( EntityPlayer  par1EntityPlayer)

Callback for when the crafting gui is closed.

void net.minecraft.inventory.ContainerRepair.onCraftMatrixChanged ( IInventory  par1IInventory)

Callback for when the crafting matrix is changed.

ItemStack net.minecraft.inventory.ContainerRepair.transferStackInSlot ( EntityPlayer  par1EntityPlayer,
int  par2 
)

Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.

void net.minecraft.inventory.ContainerRepair.updateItemName ( String  par1Str)

used by the Anvil GUI to update the Item Name being typed by the player

void net.minecraft.inventory.ContainerRepair.updateProgressBar ( int  par1,
int  par2 
)
void net.minecraft.inventory.ContainerRepair.updateRepairOutput ( )

called when the Anvil Input Slot changes, calculates the new result and puts it in the output slot

Member Data Documentation

int net.minecraft.inventory.ContainerRepair.maximumCost = 0

The maximum cost of repairing/renaming in the anvil.


The documentation for this class was generated from the following file: