Package net.minecraftforge.common
Class VillagerTradingManager
java.lang.Object
net.minecraftforge.common.VillagerTradingManager
- 
Field SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) static voidprivate static voidPosts a VillagerTradesEvent for each registered profession.private static voidPosts the WandererTradesEvent.
- 
Field Details- 
VANILLA_TRADESprivate static final Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> VANILLA_TRADES
- 
WANDERER_TRADESprivate static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]> WANDERER_TRADES
 
- 
- 
Constructor Details- 
VillagerTradingManagerpublic VillagerTradingManager()
 
- 
- 
Method Details- 
loadTrades
- 
postWandererEventprivate static void postWandererEvent()Posts the WandererTradesEvent.
- 
postVillagerEventsprivate static void postVillagerEvents()Posts a VillagerTradesEvent for each registered profession.
 
-