public class ModLoaderVillageTradeHandler extends Object implements VillagerRegistry.IVillageTradeHandler
Constructor and Description |
---|
ModLoaderVillageTradeHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addTrade(TradeEntry entry) |
void |
manipulateTradesForVillager(EntityVillager villager,
MerchantRecipeList recipeList,
Random random)
Called to allow changing the content of the
MerchantRecipeList for the villager
supplied during creation |
public void manipulateTradesForVillager(EntityVillager villager, MerchantRecipeList recipeList, Random random)
VillagerRegistry.IVillageTradeHandler
MerchantRecipeList
for the villager
supplied during creationmanipulateTradesForVillager
in interface VillagerRegistry.IVillageTradeHandler
public void addTrade(TradeEntry entry)