Package net.minecraft.village
Class TradeOffers
java.lang.Object
net.minecraft.village.TradeOffers
public class TradeOffers extends Object
-
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 -
WANDERING_TRADER_TRADES
-
-
Constructor Details
-
TradeOffers
public TradeOffers()
-
-
Method Details
-
copyToFastUtilMap
private static Int2ObjectMap<TradeOffers.Factory[]> copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map)
-