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.IVillageTradeHandlerMerchantRecipeList for the villager
supplied during creationmanipulateTradesForVillager in interface VillagerRegistry.IVillageTradeHandlerpublic void addTrade(TradeEntry entry)