类 VillagerTradingManager
java.lang.Object
net.minecraftforge.common.VillagerTradingManager
-
字段概要
字段修饰符和类型字段说明private static final Map
<VillagerProfession, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<VillagerTrades.ItemListing[]> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) static void
private static void
Posts a VillagerTradesEvent for each registered profession.private static void
Posts the WandererTradesEvent.
-
字段详细资料
-
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
-
-
构造器详细资料
-
VillagerTradingManager
public VillagerTradingManager()
-
-
方法详细资料
-
loadTrades
-
postWandererEvent
private static void postWandererEvent()Posts the WandererTradesEvent. -
postVillagerEvents
private static void postVillagerEvents()Posts a VillagerTradesEvent for each registered profession.
-