Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ModLoaderVillageTradeHandler()`

Method Summary
`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

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ModLoaderVillageTradeHandler

    public ModLoaderVillageTradeHandler()

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD