public class TradeOffers extends Object
Modifier and Type | Class and 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 |
Modifier and Type | Field and Description |
---|---|
static Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]>> |
PROFESSION_TO_LEVELED_TRADE |
static it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]> |
WANDERING_TRADER_TRADES |
Constructor and Description |
---|
TradeOffers() |
Modifier and Type | Method and Description |
---|---|
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]> |
copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map) |
public static final Map<VillagerProfession,it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]>> PROFESSION_TO_LEVELED_TRADE
public static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]> WANDERING_TRADER_TRADES
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<TradeOffers.Factory[]> copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map)