public class MerchantRecipe
extends java.lang.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) |
void |
func_82785_h() |
ItemStack |
getItemToBuy() |
ItemStack |
getItemToSell() |
ItemStack |
getSecondItemToBuy() |
boolean |
hasSameIDsAs(MerchantRecipe par1MerchantRecipe) |
boolean |
hasSameItemsAs(MerchantRecipe par1MerchantRecipe) |
boolean |
hasSecondItemToBuy() |
void |
incrementToolUses() |
boolean |
isRecipeDisabled() |
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 isRecipeDisabled()
public void func_82785_h()
public void readFromTags(NBTTagCompound par1NBTTagCompound)
public NBTTagCompound writeToTags()