Package net.minecraft.village
Class TradeOffers
java.lang.Object
net.minecraft.village.TradeOffers
- Mappings:
Namespace Name named net/minecraft/village/TradeOffersintermediary net/minecraft/class_3853official coo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classstatic interfaceA factory to create trade offers.private static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final intprivate static final intprivate static final floatprivate static final intprivate static final intprivate static final intstatic final Map<VillagerProfession, Int2ObjectMap<TradeOffers.Factory[]>> private static final intstatic final Map<VillagerProfession, Int2ObjectMap<TradeOffers.Factory[]>> static final List<Pair<TradeOffers.Factory[], Integer>> private static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactoryprivate static final TradeOffers.SellMapFactorystatic final Int2ObjectMap<TradeOffers.Factory[]> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Int2ObjectMap<TradeOffers.Factory[]> private static TradeOffers.FactorycreateLibrarianTradeFactory(int experience) private static TradeOffers.Factoryprivate static TradedItemcreatePotion(RegistryEntry<Potion> potion) private static ItemStackcreatePotionStack(RegistryEntry<Potion> potion)
-
Field Details
-
DEFAULT_MAX_USES
private static final int DEFAULT_MAX_USES- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_MAX_USESLnet/minecraft/village/TradeOffers;DEFAULT_MAX_USES:Iintermediary field_30615Lnet/minecraft/class_3853;field_30615:Iofficial eLcoo;e:I
-
COMMON_MAX_USES
private static final int COMMON_MAX_USES- See Also:
- Mappings:
Namespace Name Mixin selector named COMMON_MAX_USESLnet/minecraft/village/TradeOffers;COMMON_MAX_USES:Iintermediary field_30616Lnet/minecraft/class_3853;field_30616:Iofficial fLcoo;f:I
-
RARE_MAX_USES
private static final int RARE_MAX_USES- See Also:
- Mappings:
Namespace Name Mixin selector named RARE_MAX_USESLnet/minecraft/village/TradeOffers;RARE_MAX_USES:Iintermediary field_30617Lnet/minecraft/class_3853;field_30617:Iofficial gLcoo;g:I
-
NOVICE_SELL_EXPERIENCE
private static final int NOVICE_SELL_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named NOVICE_SELL_EXPERIENCELnet/minecraft/village/TradeOffers;NOVICE_SELL_EXPERIENCE:Iintermediary field_30618Lnet/minecraft/class_3853;field_30618:Iofficial hLcoo;h:I
-
NOVICE_BUY_EXPERIENCE
private static final int NOVICE_BUY_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named NOVICE_BUY_EXPERIENCELnet/minecraft/village/TradeOffers;NOVICE_BUY_EXPERIENCE:Iintermediary field_30619Lnet/minecraft/class_3853;field_30619:Iofficial iLcoo;i:I
-
APPRENTICE_SELL_EXPERIENCE
private static final int APPRENTICE_SELL_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named APPRENTICE_SELL_EXPERIENCELnet/minecraft/village/TradeOffers;APPRENTICE_SELL_EXPERIENCE:Iintermediary field_30620Lnet/minecraft/class_3853;field_30620:Iofficial jLcoo;j:I
-
APPRENTICE_BUY_EXPERIENCE
private static final int APPRENTICE_BUY_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named APPRENTICE_BUY_EXPERIENCELnet/minecraft/village/TradeOffers;APPRENTICE_BUY_EXPERIENCE:Iintermediary field_30621Lnet/minecraft/class_3853;field_30621:Iofficial kLcoo;k:I
-
JOURNEYMAN_SELL_EXPERIENCE
private static final int JOURNEYMAN_SELL_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named JOURNEYMAN_SELL_EXPERIENCELnet/minecraft/village/TradeOffers;JOURNEYMAN_SELL_EXPERIENCE:Iintermediary field_30622Lnet/minecraft/class_3853;field_30622:Iofficial lLcoo;l:I
-
JOURNEYMAN_BUY_EXPERIENCE
private static final int JOURNEYMAN_BUY_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named JOURNEYMAN_BUY_EXPERIENCELnet/minecraft/village/TradeOffers;JOURNEYMAN_BUY_EXPERIENCE:Iintermediary field_30623Lnet/minecraft/class_3853;field_30623:Iofficial mLcoo;m:I
-
EXPERT_SELL_EXPERIENCE
private static final int EXPERT_SELL_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named EXPERT_SELL_EXPERIENCELnet/minecraft/village/TradeOffers;EXPERT_SELL_EXPERIENCE:Iintermediary field_30624Lnet/minecraft/class_3853;field_30624:Iofficial nLcoo;n:I
-
EXPERT_BUY_EXPERIENCE
private static final int EXPERT_BUY_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named EXPERT_BUY_EXPERIENCELnet/minecraft/village/TradeOffers;EXPERT_BUY_EXPERIENCE:Iintermediary field_30625Lnet/minecraft/class_3853;field_30625:Iofficial oLcoo;o:I
-
MASTER_TRADE_EXPERIENCE
private static final int MASTER_TRADE_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named MASTER_TRADE_EXPERIENCELnet/minecraft/village/TradeOffers;MASTER_TRADE_EXPERIENCE:Iintermediary field_30626Lnet/minecraft/class_3853;field_30626:Iofficial pLcoo;p:I
-
LOW_PRICE_MULTIPLIER
private static final float LOW_PRICE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named LOW_PRICE_MULTIPLIERLnet/minecraft/village/TradeOffers;LOW_PRICE_MULTIPLIER:Fintermediary field_30627Lnet/minecraft/class_3853;field_30627:Fofficial qLcoo;q:F
-
HIGH_PRICE_MULTIPLIER
private static final float HIGH_PRICE_MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector named HIGH_PRICE_MULTIPLIERLnet/minecraft/village/TradeOffers;HIGH_PRICE_MULTIPLIER:Fintermediary field_30628Lnet/minecraft/class_3853;field_30628:Fofficial rLcoo;r:F
-
PROFESSION_TO_LEVELED_TRADE
public static final Map<VillagerProfession,Int2ObjectMap<TradeOffers.Factory[]>> PROFESSION_TO_LEVELED_TRADE- Mappings:
Namespace Name Mixin selector named PROFESSION_TO_LEVELED_TRADELnet/minecraft/village/TradeOffers;PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;intermediary field_17067Lnet/minecraft/class_3853;field_17067:Ljava/util/Map;official aLcoo;a:Ljava/util/Map;
-
WANDERING_TRADER_TRADES
- Mappings:
Namespace Name Mixin selector named WANDERING_TRADER_TRADESLnet/minecraft/village/TradeOffers;WANDERING_TRADER_TRADES:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_17724Lnet/minecraft/class_3853;field_17724:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official bLcoo;b:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
SELL_DESERT_VILLAGE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_DESERT_VILLAGE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_DESERT_VILLAGE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46167Lnet/minecraft/class_3853;field_46167:Lnet/minecraft/class_3853$class_1654;official sLcoo;s:Lcoo$l;
-
SELL_SAVANNA_VILLAGE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_SAVANNA_VILLAGE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_SAVANNA_VILLAGE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46168Lnet/minecraft/class_3853;field_46168:Lnet/minecraft/class_3853$class_1654;official tLcoo;t:Lcoo$l;
-
SELL_PLAINS_VILLAGE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_PLAINS_VILLAGE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_PLAINS_VILLAGE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46169Lnet/minecraft/class_3853;field_46169:Lnet/minecraft/class_3853$class_1654;official uLcoo;u:Lcoo$l;
-
SELL_TAIGA_VILLAGE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_TAIGA_VILLAGE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_TAIGA_VILLAGE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46170Lnet/minecraft/class_3853;field_46170:Lnet/minecraft/class_3853$class_1654;official vLcoo;v:Lcoo$l;
-
SELL_SNOWY_VILLAGE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_SNOWY_VILLAGE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_SNOWY_VILLAGE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46171Lnet/minecraft/class_3853;field_46171:Lnet/minecraft/class_3853$class_1654;official wLcoo;w:Lcoo$l;
-
SELL_JUNGLE_TEMPLE_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_JUNGLE_TEMPLE_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_JUNGLE_TEMPLE_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46172Lnet/minecraft/class_3853;field_46172:Lnet/minecraft/class_3853$class_1654;official xLcoo;x:Lcoo$l;
-
SELL_SWAMP_HUT_MAP_TRADE
- Mappings:
Namespace Name Mixin selector named SELL_SWAMP_HUT_MAP_TRADELnet/minecraft/village/TradeOffers;SELL_SWAMP_HUT_MAP_TRADE:Lnet/minecraft/village/TradeOffers$SellMapFactory;intermediary field_46173Lnet/minecraft/class_3853;field_46173:Lnet/minecraft/class_3853$class_1654;official yLcoo;y:Lcoo$l;
-
REBALANCED_PROFESSION_TO_LEVELED_TRADE
public static final Map<VillagerProfession,Int2ObjectMap<TradeOffers.Factory[]>> REBALANCED_PROFESSION_TO_LEVELED_TRADE- Mappings:
Namespace Name Mixin selector named REBALANCED_PROFESSION_TO_LEVELED_TRADELnet/minecraft/village/TradeOffers;REBALANCED_PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;intermediary field_45128Lnet/minecraft/class_3853;field_45128:Ljava/util/Map;official cLcoo;c:Ljava/util/Map;
-
REBALANCED_WANDERING_TRADER_TRADES
- Mappings:
Namespace Name Mixin selector named REBALANCED_WANDERING_TRADER_TRADESLnet/minecraft/village/TradeOffers;REBALANCED_WANDERING_TRADER_TRADES:Ljava/util/List;intermediary field_45129Lnet/minecraft/class_3853;field_45129:Ljava/util/List;official dLcoo;d:Ljava/util/List;
-
-
Constructor Details
-
TradeOffers
public TradeOffers()
-
-
Method Details
-
createLibrarianTradeFactory
- Mappings:
Namespace Name Mixin selector named createLibrarianTradeFactoryLnet/minecraft/village/TradeOffers;createLibrarianTradeFactory(I)Lnet/minecraft/village/TradeOffers$Factory;intermediary method_52552Lnet/minecraft/class_3853;method_52552(I)Lnet/minecraft/class_3853$class_1652;official aLcoo;a(I)Lcoo$g;
-
createMasterLibrarianTradeFactory
- Mappings:
Namespace Name Mixin selector named createMasterLibrarianTradeFactoryLnet/minecraft/village/TradeOffers;createMasterLibrarianTradeFactory()Lnet/minecraft/village/TradeOffers$Factory;intermediary method_52551Lnet/minecraft/class_3853;method_52551()Lnet/minecraft/class_3853$class_1652;official aLcoo;a()Lcoo$g;
-
copyToFastUtilMap
private static Int2ObjectMap<TradeOffers.Factory[]> copyToFastUtilMap(ImmutableMap<Integer, TradeOffers.Factory[]> map) - Mappings:
Namespace Name Mixin selector named copyToFastUtilMapLnet/minecraft/village/TradeOffers;copyToFastUtilMap(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary method_16928Lnet/minecraft/class_3853;method_16928(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;official aLcoo;a(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
createPotion
- Mappings:
Namespace Name Mixin selector named createPotionLnet/minecraft/village/TradeOffers;createPotion(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/village/TradedItem;intermediary method_57311Lnet/minecraft/class_3853;method_57311(Lnet/minecraft/class_6880;)Lnet/minecraft/class_9306;official aLcoo;a(Ljr;)Ldfe;
-
createPotionStack
- Mappings:
Namespace Name Mixin selector named createPotionStackLnet/minecraft/village/TradeOffers;createPotionStack(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/item/ItemStack;intermediary method_52553Lnet/minecraft/class_3853;method_52553(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1799;official bLcoo;b(Ljr;)Lcwq;
-