|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Slot
net.minecraft.src.SlotMerchantResult
public class SlotMerchantResult
Field Summary |
---|
Fields inherited from class net.minecraft.src.Slot |
---|
inventory, slotNumber, xDisplayPosition, yDisplayPosition |
Constructor Summary | |
---|---|
SlotMerchantResult(EntityPlayer par1EntityPlayer,
IMerchant par2IMerchant,
InventoryMerchant par3InventoryMerchant,
int par4,
int par5,
int par6)
|
Method Summary | |
---|---|
ItemStack |
decrStackSize(int par1)
Decrease the size of the stack in slot (first int arg) by the amount of the second int arg. |
boolean |
isItemValid(ItemStack par1ItemStack)
Check if the stack is a valid item for this slot. |
void |
onPickupFromSlot(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack)
|
Methods inherited from class net.minecraft.src.Slot |
---|
canTakeStack, getBackgroundIconIndex, getHasStack, getSlotStackLimit, getStack, isSlotInInventory, onSlotChange, onSlotChanged, putStack |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SlotMerchantResult(EntityPlayer par1EntityPlayer, IMerchant par2IMerchant, InventoryMerchant par3InventoryMerchant, int par4, int par5, int par6)
Method Detail |
---|
public boolean isItemValid(ItemStack par1ItemStack)
isItemValid
in class Slot
public ItemStack decrStackSize(int par1)
decrStackSize
in class Slot
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack)
onPickupFromSlot
in class Slot
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |