Package net.minecraft.village
Class TradeOffers
java.lang.Object
net.minecraft.village.TradeOffers
public class TradeOffers extends Object
- Mappings:
Namespace Name official bhc
intermediary net/minecraft/class_3853
named net/minecraft/village/TradeOffers
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TradeOffers.BuyForOneEmeraldFactory
(package private) static class
TradeOffers.EnchantBookFactory
static interface
TradeOffers.Factory
A factory to create trade offers.(package private) static class
TradeOffers.ProcessItemFactory
(package private) static class
TradeOffers.SellDyedArmorFactory
(package private) static class
TradeOffers.SellEnchantedToolFactory
(package private) static class
TradeOffers.SellItemFactory
(package private) static class
TradeOffers.SellMapFactory
(package private) static class
TradeOffers.SellPotionHoldingItemFactory
(package private) static class
TradeOffers.SellSuspiciousStewFactory
(package private) static class
TradeOffers.TypeAwareBuyForOneEmeraldFactory
-
Field Summary
Fields Modifier and Type Field Description static Map<VillagerProfession,Int2ObjectMap<TradeOffers.Factory[]>>
PROFESSION_TO_LEVELED_TRADE
static Int2ObjectMap<TradeOffers.Factory[]>
WANDERING_TRADER_TRADES
-
Constructor Summary
Constructors Constructor Description TradeOffers()
-
Method Summary
Modifier and Type Method Description private static Int2ObjectMap<TradeOffers.Factory[]>
copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map)
-
Field Details
-
PROFESSION_TO_LEVELED_TRADE
public static final Map<VillagerProfession,Int2ObjectMap<TradeOffers.Factory[]>> PROFESSION_TO_LEVELED_TRADE- Mappings:
Namespace Name Mixin selector official a
Lbhc;a:Ljava/util/Map;
intermediary field_17067
Lnet/minecraft/class_3853;field_17067:Ljava/util/Map;
named PROFESSION_TO_LEVELED_TRADE
Lnet/minecraft/village/TradeOffers;PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;
-
WANDERING_TRADER_TRADES
- Mappings:
Namespace Name Mixin selector official b
Lbhc;b:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_17724
Lnet/minecraft/class_3853;field_17724:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named WANDERING_TRADER_TRADES
Lnet/minecraft/village/TradeOffers;WANDERING_TRADER_TRADES:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
-
Constructor Details
-
TradeOffers
public TradeOffers()
-
-
Method Details
-
copyToFastUtilMap
private static Int2ObjectMap<TradeOffers.Factory[]> copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map)- Mappings:
Namespace Name Mixin selector official a
Lbhc;a(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary method_16928
Lnet/minecraft/class_3853;method_16928(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named copyToFastUtilMap
Lnet/minecraft/village/TradeOffers;copyToFastUtilMap(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-