|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.village.MerchantRecipe
public class MerchantRecipe
Constructor Summary | |
---|---|
MerchantRecipe(ItemStack par1ItemStack,
Item par2Item)
|
|
MerchantRecipe(ItemStack par1ItemStack,
ItemStack par2ItemStack)
|
|
MerchantRecipe(ItemStack par1ItemStack,
ItemStack par2ItemStack,
ItemStack par3ItemStack)
|
|
MerchantRecipe(NBTTagCompound par1NBTTagCompound)
|
Method Summary | |
---|---|
void |
func_82783_a(int par1)
|
boolean |
func_82784_g()
|
void |
func_82785_h()
|
ItemStack |
getItemToBuy()
Gets the itemToBuy. |
ItemStack |
getItemToSell()
Gets itemToSell. |
ItemStack |
getSecondItemToBuy()
Gets secondItemToBuy. |
boolean |
hasSameIDsAs(MerchantRecipe par1MerchantRecipe)
checks if both the first and second ItemToBuy IDs are the same |
boolean |
hasSameItemsAs(MerchantRecipe par1MerchantRecipe)
checks first and second ItemToBuy ID's and count. |
boolean |
hasSecondItemToBuy()
Gets if Villager has secondItemToBuy. |
void |
incrementToolUses()
|
void |
readFromTags(NBTTagCompound par1NBTTagCompound)
|
NBTTagCompound |
writeToTags()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MerchantRecipe(NBTTagCompound par1NBTTagCompound)
public MerchantRecipe(ItemStack par1ItemStack, ItemStack par2ItemStack, ItemStack par3ItemStack)
public MerchantRecipe(ItemStack par1ItemStack, ItemStack par2ItemStack)
public MerchantRecipe(ItemStack par1ItemStack, Item par2Item)
Method Detail |
---|
public ItemStack getItemToBuy()
public ItemStack getSecondItemToBuy()
public boolean hasSecondItemToBuy()
public ItemStack getItemToSell()
public boolean hasSameIDsAs(MerchantRecipe par1MerchantRecipe)
public boolean hasSameItemsAs(MerchantRecipe par1MerchantRecipe)
public void incrementToolUses()
public void func_82783_a(int par1)
public boolean func_82784_g()
public void func_82785_h()
public void readFromTags(NBTTagCompound par1NBTTagCompound)
public NBTTagCompound writeToTags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |