cpw.mods.fml.common.modloader
Class ModLoaderVillageTradeHandler
java.lang.Object
cpw.mods.fml.common.modloader.ModLoaderVillageTradeHandler
- All Implemented Interfaces:
- VillagerRegistry.IVillageTradeHandler
public class ModLoaderVillageTradeHandler
- extends Object
- implements VillagerRegistry.IVillageTradeHandler
ModLoaderVillageTradeHandler
public ModLoaderVillageTradeHandler()
manipulateTradesForVillager
public void manipulateTradesForVillager(EntityVillager villager,
MerchantRecipeList recipeList,
Random random)
- Description copied from interface:
VillagerRegistry.IVillageTradeHandler
- Called to allow changing the content of the
MerchantRecipeList
for the villager
supplied during creation
- Specified by:
manipulateTradesForVillager
in interface VillagerRegistry.IVillageTradeHandler
addTrade
public void addTrade(TradeEntry entry)