public interface IMerchant
Modifier and Type | Method and Description |
---|---|
EntityPlayer |
getCustomer() |
ITextComponent |
getDisplayName() |
BlockPos |
getPos() |
MerchantRecipeList |
getRecipes(EntityPlayer player) |
World |
getWorld() |
void |
setCustomer(EntityPlayer player) |
void |
setRecipes(MerchantRecipeList recipeList) |
void |
useRecipe(MerchantRecipe recipe) |
void |
verifySellingItem(ItemStack stack) |
void setCustomer(@Nullable EntityPlayer player)
@Nullable EntityPlayer getCustomer()
@Nullable MerchantRecipeList getRecipes(EntityPlayer player)
void setRecipes(@Nullable MerchantRecipeList recipeList)
void useRecipe(MerchantRecipe recipe)
void verifySellingItem(ItemStack stack)
ITextComponent getDisplayName()
World getWorld()
BlockPos getPos()