Class WandererTradesEvent


  • public class WandererTradesEvent
    extends net.minecraftforge.eventbus.api.Event
    WandererTradesEvent is fired during the FMLServerAboutToStartEvent. It is used to gather the trade lists for the wandering merchant. It is fired on the MinecraftForge.EVENT_BUS. The wandering merchant picks a few trades from TradeType#GENERIC and a single trade from TradeType#RARE. To add trades to the merchant, simply add new trades to the list. BasicTrade provides a default implementation.