public class VillagerTradingManager
extends java.lang.Object
| Modifier and Type | Field and 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 and Description |
|---|
VillagerTradingManager() |
| Modifier and Type | Method and 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.
|
private static final java.util.Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]>> VANILLA_TRADES
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ITrade[]> WANDERER_TRADES
static void loadTrades(FMLServerAboutToStartEvent e)
private static void postWandererEvent()
private static void postVillagerEvents()