public class MerchantRecipe extends Object
Constructor and Description |
---|
MerchantRecipe(ItemStack par1ItemStack,
Item par2Item) |
MerchantRecipe(ItemStack par1ItemStack,
ItemStack par2ItemStack) |
MerchantRecipe(ItemStack par1ItemStack,
ItemStack par2ItemStack,
ItemStack par3ItemStack) |
MerchantRecipe(NBTTagCompound par1NBTTagCompound) |
Modifier and Type | Method and Description |
---|---|
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() |
public MerchantRecipe(NBTTagCompound par1NBTTagCompound)
public MerchantRecipe(ItemStack par1ItemStack, ItemStack par2ItemStack, ItemStack par3ItemStack)
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()