Package net.minecraftforge.common
Class VillagerTradingManager
java.lang.Object
net.minecraftforge.common.VillagerTradingManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<VillagerProfession,
it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static void
private static void
Posts a VillagerTradesEvent for each registered profession.private static void
Posts the WandererTradesEvent.
-
Field Details
-
VANILLA_TRADES
private static final Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VANILLA_TRADES -
WANDERER_TRADES
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]> WANDERER_TRADES
-
-
Constructor Details
-
VillagerTradingManager
public VillagerTradingManager()
-
-
Method Details
-
loadTrades
-
postWandererEvent
private static void postWandererEvent()Posts the WandererTradesEvent. -
postVillagerEvents
private static void postVillagerEvents()Posts a VillagerTradesEvent for each registered profession.
-