Package net.minecraft.world.entity.npc
Class VillagerTrades
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
static interface
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final float
private static final float
static final Map<VillagerProfession,
it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> private static final int
static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>
static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>
toIntMap
(com.google.common.collect.ImmutableMap<Integer, VillagerTrades.ItemListing[]> p_35631_)
-
Field Details
-
DEFAULT_SUPPLY
private static final int DEFAULT_SUPPLY- See Also:
-
COMMON_ITEMS_SUPPLY
private static final int COMMON_ITEMS_SUPPLY- See Also:
-
UNCOMMON_ITEMS_SUPPLY
private static final int UNCOMMON_ITEMS_SUPPLY- See Also:
-
XP_LEVEL_1_SELL
private static final int XP_LEVEL_1_SELL- See Also:
-
XP_LEVEL_1_BUY
private static final int XP_LEVEL_1_BUY- See Also:
-
XP_LEVEL_2_SELL
private static final int XP_LEVEL_2_SELL- See Also:
-
XP_LEVEL_2_BUY
private static final int XP_LEVEL_2_BUY- See Also:
-
XP_LEVEL_3_SELL
private static final int XP_LEVEL_3_SELL- See Also:
-
XP_LEVEL_3_BUY
private static final int XP_LEVEL_3_BUY- See Also:
-
XP_LEVEL_4_SELL
private static final int XP_LEVEL_4_SELL- See Also:
-
XP_LEVEL_4_BUY
private static final int XP_LEVEL_4_BUY- See Also:
-
XP_LEVEL_5_TRADE
private static final int XP_LEVEL_5_TRADE- See Also:
-
LOW_TIER_PRICE_MULTIPLIER
private static final float LOW_TIER_PRICE_MULTIPLIER- See Also:
-
HIGH_TIER_PRICE_MULTIPLIER
private static final float HIGH_TIER_PRICE_MULTIPLIER- See Also:
-
TRADES
public static final Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>> TRADES -
WANDERING_TRADER_TRADES
public static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]> WANDERING_TRADER_TRADES -
WANDERING_TRADER_TRADES_1_20
public static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]> WANDERING_TRADER_TRADES_1_20
-
-
Constructor Details
-
VillagerTrades
public VillagerTrades()
-
-
Method Details
-
toIntMap
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]> toIntMap(com.google.common.collect.ImmutableMap<Integer, VillagerTrades.ItemListing[]> p_35631_)
-