YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.village.MerchantRecipe Class Reference

Public Member Functions

 MerchantRecipe (NBTTagCompound par1NBTTagCompound)
 
 MerchantRecipe (ItemStack par1ItemStack, ItemStack par2ItemStack, ItemStack par3ItemStack)
 
 MerchantRecipe (ItemStack par1ItemStack, ItemStack par2ItemStack)
 
 MerchantRecipe (ItemStack par1ItemStack, Item par2Item)
 
ItemStack getItemToBuy ()
 
ItemStack getSecondItemToBuy ()
 
boolean hasSecondItemToBuy ()
 
ItemStack getItemToSell ()
 
boolean hasSameIDsAs (MerchantRecipe par1MerchantRecipe)
 
boolean hasSameItemsAs (MerchantRecipe par1MerchantRecipe)
 
void incrementToolUses ()
 
void func_82783_a (int par1)
 
boolean func_82784_g ()
 
void func_82785_h ()
 
void readFromTags (NBTTagCompound par1NBTTagCompound)
 
NBTTagCompound writeToTags ()
 

Constructor & Destructor Documentation

net.minecraft.village.MerchantRecipe.MerchantRecipe ( NBTTagCompound  par1NBTTagCompound)
net.minecraft.village.MerchantRecipe.MerchantRecipe ( ItemStack  par1ItemStack,
ItemStack  par2ItemStack,
ItemStack  par3ItemStack 
)
net.minecraft.village.MerchantRecipe.MerchantRecipe ( ItemStack  par1ItemStack,
ItemStack  par2ItemStack 
)
net.minecraft.village.MerchantRecipe.MerchantRecipe ( ItemStack  par1ItemStack,
Item  par2Item 
)

Member Function Documentation

void net.minecraft.village.MerchantRecipe.func_82783_a ( int  par1)
boolean net.minecraft.village.MerchantRecipe.func_82784_g ( )
void net.minecraft.village.MerchantRecipe.func_82785_h ( )
ItemStack net.minecraft.village.MerchantRecipe.getItemToBuy ( )

Gets the itemToBuy.

ItemStack net.minecraft.village.MerchantRecipe.getItemToSell ( )

Gets itemToSell.

ItemStack net.minecraft.village.MerchantRecipe.getSecondItemToBuy ( )

Gets secondItemToBuy.

boolean net.minecraft.village.MerchantRecipe.hasSameIDsAs ( MerchantRecipe  par1MerchantRecipe)

checks if both the first and second ItemToBuy IDs are the same

boolean net.minecraft.village.MerchantRecipe.hasSameItemsAs ( MerchantRecipe  par1MerchantRecipe)

checks first and second ItemToBuy ID's and count. Calls hasSameIDs

boolean net.minecraft.village.MerchantRecipe.hasSecondItemToBuy ( )

Gets if Villager has secondItemToBuy.

void net.minecraft.village.MerchantRecipe.incrementToolUses ( )
void net.minecraft.village.MerchantRecipe.readFromTags ( NBTTagCompound  par1NBTTagCompound)
NBTTagCompound net.minecraft.village.MerchantRecipe.writeToTags ( )

The documentation for this class was generated from the following file: