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 int
private static int
private static float
private static float
static Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>>
private static int
static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades.ItemListing[]>
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static 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:
- Constant Field Values
-
COMMON_ITEMS_SUPPLY
private static final int COMMON_ITEMS_SUPPLY- See Also:
- Constant Field Values
-
UNCOMMON_ITEMS_SUPPLY
private static final int UNCOMMON_ITEMS_SUPPLY- See Also:
- Constant Field Values
-
XP_LEVEL_1_SELL
private static final int XP_LEVEL_1_SELL- See Also:
- Constant Field Values
-
XP_LEVEL_1_BUY
private static final int XP_LEVEL_1_BUY- See Also:
- Constant Field Values
-
XP_LEVEL_2_SELL
private static final int XP_LEVEL_2_SELL- See Also:
- Constant Field Values
-
XP_LEVEL_2_BUY
private static final int XP_LEVEL_2_BUY- See Also:
- Constant Field Values
-
XP_LEVEL_3_SELL
private static final int XP_LEVEL_3_SELL- See Also:
- Constant Field Values
-
XP_LEVEL_3_BUY
private static final int XP_LEVEL_3_BUY- See Also:
- Constant Field Values
-
XP_LEVEL_4_SELL
private static final int XP_LEVEL_4_SELL- See Also:
- Constant Field Values
-
XP_LEVEL_4_BUY
private static final int XP_LEVEL_4_BUY- See Also:
- Constant Field Values
-
XP_LEVEL_5_TRADE
private static final int XP_LEVEL_5_TRADE- See Also:
- Constant Field Values
-
LOW_TIER_PRICE_MULTIPLIER
private static final float LOW_TIER_PRICE_MULTIPLIER- See Also:
- Constant Field Values
-
HIGH_TIER_PRICE_MULTIPLIER
private static final float HIGH_TIER_PRICE_MULTIPLIER- See Also:
- Constant Field Values
-
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
-
-
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_)
-