public interface IMerchant
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getCustomer() |
ITextComponent |
getDisplayName()
Get the formatted ChatComponent that will be used for the sender's username in chat
|
BlockPos |
getPos() |
MerchantRecipeList |
getRecipes(EntityPlayer player) |
World |
getWorld() |
void |
setCustomer(EntityPlayer player) |
void |
setRecipes(MerchantRecipeList recipeList) |
void |
useRecipe(MerchantRecipe recipe) |
void |
verifySellingItem(ItemStack stack)
Notifies the merchant of a possible merchantrecipe being fulfilled or not.
|
void setCustomer(EntityPlayer player)
EntityPlayer getCustomer()
MerchantRecipeList getRecipes(EntityPlayer player)
void setRecipes(MerchantRecipeList recipeList)
void useRecipe(MerchantRecipe recipe)
void verifySellingItem(ItemStack stack)
ITextComponent getDisplayName()
World getWorld()
BlockPos getPos()