public class SlotMerchantResult extends Slot
backgroundIcon, inventory, slotNumber, texture, xDisplayPosition, yDisplayPosition| Constructor and Description |
|---|
SlotMerchantResult(EntityPlayer par1EntityPlayer,
IMerchant par2IMerchant,
InventoryMerchant par3InventoryMerchant,
int par4,
int par5,
int par6) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
decrStackSize(int par1) |
boolean |
isItemValid(ItemStack par1ItemStack) |
protected void |
onCrafting(ItemStack par1ItemStack) |
protected void |
onCrafting(ItemStack par1ItemStack,
int par2) |
void |
onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack) |
canTakeStack, func_111238_b, getBackgroundIconIndex, getBackgroundIconTexture, getHasStack, getSlotIndex, getSlotStackLimit, getStack, isSlotInInventory, onSlotChange, onSlotChanged, putStack, setBackgroundIcon, setBackgroundIconTexturepublic SlotMerchantResult(EntityPlayer par1EntityPlayer, IMerchant par2IMerchant, InventoryMerchant par3InventoryMerchant, int par4, int par5, int par6)
public boolean isItemValid(ItemStack par1ItemStack)
isItemValid in class Slotpublic ItemStack decrStackSize(int par1)
decrStackSize in class Slotprotected void onCrafting(ItemStack par1ItemStack, int par2)
onCrafting in class Slotprotected void onCrafting(ItemStack par1ItemStack)
onCrafting in class Slotpublic void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
onPickupFromSlot in class Slot