|
| | SlotCrafting (EntityPlayer par1EntityPlayer, IInventory par2IInventory, IInventory par3IInventory, int par4, int par5, int par6) |
| |
| boolean | isItemValid (ItemStack par1ItemStack) |
| |
| ItemStack | decrStackSize (int par1) |
| |
| void | onPickupFromSlot (EntityPlayer par1EntityPlayer, ItemStack par2ItemStack) |
| |
| | 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 () |
| |
| net.minecraft.inventory.SlotCrafting.SlotCrafting |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
IInventory |
par2IInventory, |
|
|
IInventory |
par3IInventory, |
|
|
int |
par4, |
|
|
int |
par5, |
|
|
int |
par6 |
|
) |
| |
| ItemStack net.minecraft.inventory.SlotCrafting.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.SlotCrafting.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.SlotCrafting.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.SlotCrafting.onCrafting |
( |
ItemStack |
par1ItemStack) | |
|
|
protected |
the itemStack passed in is the output - ie, iron ingots, and pickaxes, not ore and wood.
| void net.minecraft.inventory.SlotCrafting.onPickupFromSlot |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
ItemStack |
par2ItemStack |
|
) |
| |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/inventory/SlotCrafting.java