Package net.minecraftforge.common
Class VillagerTradingManager
- java.lang.Object
-
- net.minecraftforge.common.VillagerTradingManager
-
public class VillagerTradingManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]>>
VANILLA_TRADES
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]>
WANDERER_TRADES
-
Constructor Summary
Constructors Constructor Description VillagerTradingManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static void
loadTrades(FMLServerAboutToStartEvent e)
private static void
postVillagerEvents()
Posts a VillagerTradesEvent for each registered profession.private static void
postWandererEvent()
Posts the WandererTradesEvent.
-
-
-
Field Detail
-
VANILLA_TRADES
private static final java.util.Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]>> VANILLA_TRADES
-
WANDERER_TRADES
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]> WANDERER_TRADES
-
-
Method Detail
-
loadTrades
static void loadTrades(FMLServerAboutToStartEvent e)
-
postWandererEvent
private static void postWandererEvent()
Posts the WandererTradesEvent.
-
postVillagerEvents
private static void postVillagerEvents()
Posts a VillagerTradesEvent for each registered profession.
-
-