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

Public Member Functions

 SlotFurnace (EntityPlayer par1EntityPlayer, IInventory par2IInventory, int par3, int par4, int par5)
 
boolean isItemValid (ItemStack par1ItemStack)
 
ItemStack decrStackSize (int par1)
 
void onPickupFromSlot (EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
 
- Public Member Functions inherited from net.minecraft.inventory.Slot
 Slot (IInventory par1IInventory, int par2, int par3, int par4)
 
void onSlotChange (ItemStack par1ItemStack, ItemStack par2ItemStack)
 
void onPickupFromSlot (EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
 
boolean isItemValid (ItemStack par1ItemStack)
 
ItemStack getStack ()
 
boolean getHasStack ()
 
void putStack (ItemStack par1ItemStack)
 
void onSlotChanged ()
 
int getSlotStackLimit ()
 
ItemStack decrStackSize (int par1)
 
boolean isSlotInInventory (IInventory par1IInventory, int par2)
 
boolean canTakeStack (EntityPlayer par1EntityPlayer)
 
Icon getBackgroundIconIndex ()
 
String getBackgroundIconTexture ()
 
void setBackgroundIconIndex (Icon icon)
 
void setBackgroundIconTexture (String textureFilename)
 
int getSlotIndex ()
 

Protected Member Functions

void onCrafting (ItemStack par1ItemStack, int par2)
 
void onCrafting (ItemStack par1ItemStack)
 
- Protected Member Functions inherited from net.minecraft.inventory.Slot
void onCrafting (ItemStack par1ItemStack, int par2)
 
void onCrafting (ItemStack par1ItemStack)
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.inventory.Slot
final IInventory inventory
 
int slotNumber
 
int xDisplayPosition
 
int yDisplayPosition
 
- Protected Attributes inherited from net.minecraft.inventory.Slot
Icon backgroundIcon = null
 
String texture = "/gui/items.png"
 

Constructor & Destructor Documentation

net.minecraft.inventory.SlotFurnace.SlotFurnace ( EntityPlayer  par1EntityPlayer,
IInventory  par2IInventory,
int  par3,
int  par4,
int  par5 
)

Member Function Documentation

ItemStack net.minecraft.inventory.SlotFurnace.decrStackSize ( int  par1)

Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. Returns the new stack.

boolean net.minecraft.inventory.SlotFurnace.isItemValid ( ItemStack  par1ItemStack)

Check if the stack is a valid item for this slot. Always true beside for the armor slots.

void net.minecraft.inventory.SlotFurnace.onCrafting ( ItemStack  par1ItemStack,
int  par2 
)
protected

the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood. Typically increases an internal count then calls onCrafting(item).

void net.minecraft.inventory.SlotFurnace.onCrafting ( ItemStack  par1ItemStack)
protected

the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.

void net.minecraft.inventory.SlotFurnace.onPickupFromSlot ( EntityPlayer  par1EntityPlayer,
ItemStack  par2ItemStack 
)

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