Constructor and Description |
---|
NpcMerchant(EntityPlayer customerIn,
ITextComponent nameIn) |
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getCustomer() |
ITextComponent |
getDisplayName() |
MerchantRecipeList |
getRecipes(EntityPlayer player) |
void |
setCustomer(EntityPlayer player) |
void |
setRecipes(MerchantRecipeList recipeList) |
void |
useRecipe(MerchantRecipe recipe) |
void |
verifySellingItem(ItemStack stack) |
public NpcMerchant(EntityPlayer customerIn, ITextComponent nameIn)
public EntityPlayer getCustomer()
getCustomer
in interface IMerchant
public void setCustomer(EntityPlayer player)
setCustomer
in interface IMerchant
public MerchantRecipeList getRecipes(EntityPlayer player)
getRecipes
in interface IMerchant
public void setRecipes(MerchantRecipeList recipeList)
setRecipes
in interface IMerchant
public void useRecipe(MerchantRecipe recipe)
public void verifySellingItem(ItemStack stack)
verifySellingItem
in interface IMerchant
public ITextComponent getDisplayName()
getDisplayName
in interface IMerchant