| Constructor and Description |
|---|
NpcMerchant(EntityPlayer p_i45817_1_,
IChatComponent p_i45817_2_) |
| Modifier and Type | Method and Description |
|---|---|
EntityPlayer |
getCustomer() |
IChatComponent |
getDisplayName()
Get the formatted ChatComponent that will be used for the sender's username in chat
|
MerchantRecipeList |
getRecipes(EntityPlayer p_70934_1_) |
void |
setCustomer(EntityPlayer p_70932_1_) |
void |
setRecipes(MerchantRecipeList recipeList) |
void |
useRecipe(MerchantRecipe recipe) |
void |
verifySellingItem(ItemStack stack)
Notifies the merchant of a possible merchantrecipe being fulfilled or not.
|
public NpcMerchant(EntityPlayer p_i45817_1_, IChatComponent p_i45817_2_)
public EntityPlayer getCustomer()
getCustomer in interface IMerchantpublic void setCustomer(EntityPlayer p_70932_1_)
setCustomer in interface IMerchantpublic MerchantRecipeList getRecipes(EntityPlayer p_70934_1_)
getRecipes in interface IMerchantpublic void setRecipes(MerchantRecipeList recipeList)
setRecipes in interface IMerchantpublic void useRecipe(MerchantRecipe recipe)
public void verifySellingItem(ItemStack stack)
verifySellingItem in interface IMerchantpublic IChatComponent getDisplayName()
getDisplayName in interface IMerchant