Class TradeOffers

java.lang.Object
net.minecraft.village.TradeOffers

public class TradeOffers extends Object
Mappings:
Namespace Name
named net/minecraft/village/TradeOffers
intermediary net/minecraft/class_3853
official cry
  • Field Details Link icon

    • DEFAULT_MAX_USES Link icon

      private static final int DEFAULT_MAX_USES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_MAX_USES Lnet/minecraft/village/TradeOffers;DEFAULT_MAX_USES:I
      intermediary field_30615 Lnet/minecraft/class_3853;field_30615:I
      official d Lcry;d:I
    • COMMON_MAX_USES Link icon

      private static final int COMMON_MAX_USES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named COMMON_MAX_USES Lnet/minecraft/village/TradeOffers;COMMON_MAX_USES:I
      intermediary field_30616 Lnet/minecraft/class_3853;field_30616:I
      official e Lcry;e:I
    • RARE_MAX_USES Link icon

      private static final int RARE_MAX_USES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RARE_MAX_USES Lnet/minecraft/village/TradeOffers;RARE_MAX_USES:I
      intermediary field_30617 Lnet/minecraft/class_3853;field_30617:I
      official f Lcry;f:I
    • NOVICE_SELL_EXPERIENCE Link icon

      private static final int NOVICE_SELL_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NOVICE_SELL_EXPERIENCE Lnet/minecraft/village/TradeOffers;NOVICE_SELL_EXPERIENCE:I
      intermediary field_30618 Lnet/minecraft/class_3853;field_30618:I
      official g Lcry;g:I
    • NOVICE_BUY_EXPERIENCE Link icon

      private static final int NOVICE_BUY_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NOVICE_BUY_EXPERIENCE Lnet/minecraft/village/TradeOffers;NOVICE_BUY_EXPERIENCE:I
      intermediary field_30619 Lnet/minecraft/class_3853;field_30619:I
      official h Lcry;h:I
    • APPRENTICE_SELL_EXPERIENCE Link icon

      private static final int APPRENTICE_SELL_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named APPRENTICE_SELL_EXPERIENCE Lnet/minecraft/village/TradeOffers;APPRENTICE_SELL_EXPERIENCE:I
      intermediary field_30620 Lnet/minecraft/class_3853;field_30620:I
      official i Lcry;i:I
    • APPRENTICE_BUY_EXPERIENCE Link icon

      private static final int APPRENTICE_BUY_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named APPRENTICE_BUY_EXPERIENCE Lnet/minecraft/village/TradeOffers;APPRENTICE_BUY_EXPERIENCE:I
      intermediary field_30621 Lnet/minecraft/class_3853;field_30621:I
      official j Lcry;j:I
    • JOURNEYMAN_SELL_EXPERIENCE Link icon

      private static final int JOURNEYMAN_SELL_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named JOURNEYMAN_SELL_EXPERIENCE Lnet/minecraft/village/TradeOffers;JOURNEYMAN_SELL_EXPERIENCE:I
      intermediary field_30622 Lnet/minecraft/class_3853;field_30622:I
      official k Lcry;k:I
    • JOURNEYMAN_BUY_EXPERIENCE Link icon

      private static final int JOURNEYMAN_BUY_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named JOURNEYMAN_BUY_EXPERIENCE Lnet/minecraft/village/TradeOffers;JOURNEYMAN_BUY_EXPERIENCE:I
      intermediary field_30623 Lnet/minecraft/class_3853;field_30623:I
      official l Lcry;l:I
    • EXPERT_SELL_EXPERIENCE Link icon

      private static final int EXPERT_SELL_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EXPERT_SELL_EXPERIENCE Lnet/minecraft/village/TradeOffers;EXPERT_SELL_EXPERIENCE:I
      intermediary field_30624 Lnet/minecraft/class_3853;field_30624:I
      official m Lcry;m:I
    • EXPERT_BUY_EXPERIENCE Link icon

      private static final int EXPERT_BUY_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named EXPERT_BUY_EXPERIENCE Lnet/minecraft/village/TradeOffers;EXPERT_BUY_EXPERIENCE:I
      intermediary field_30625 Lnet/minecraft/class_3853;field_30625:I
      official n Lcry;n:I
    • MASTER_TRADE_EXPERIENCE Link icon

      private static final int MASTER_TRADE_EXPERIENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MASTER_TRADE_EXPERIENCE Lnet/minecraft/village/TradeOffers;MASTER_TRADE_EXPERIENCE:I
      intermediary field_30626 Lnet/minecraft/class_3853;field_30626:I
      official o Lcry;o:I
    • LOW_PRICE_MULTIPLIER Link icon

      private static final float LOW_PRICE_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LOW_PRICE_MULTIPLIER Lnet/minecraft/village/TradeOffers;LOW_PRICE_MULTIPLIER:F
      intermediary field_30627 Lnet/minecraft/class_3853;field_30627:F
      official p Lcry;p:F
    • HIGH_PRICE_MULTIPLIER Link icon

      private static final float HIGH_PRICE_MULTIPLIER
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HIGH_PRICE_MULTIPLIER Lnet/minecraft/village/TradeOffers;HIGH_PRICE_MULTIPLIER:F
      intermediary field_30628 Lnet/minecraft/class_3853;field_30628:F
      official q Lcry;q:F
    • PROFESSION_TO_LEVELED_TRADE Link icon

      public static final Map<RegistryKey<VillagerProfession>,Int2ObjectMap<TradeOffers.Factory[]>> PROFESSION_TO_LEVELED_TRADE
      Mappings:
      Namespace Name Mixin selector
      named PROFESSION_TO_LEVELED_TRADE Lnet/minecraft/village/TradeOffers;PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;
      intermediary field_17067 Lnet/minecraft/class_3853;field_17067:Ljava/util/Map;
      official a Lcry;a:Ljava/util/Map;
    • WANDERING_TRADER_TRADES Link icon

      public static final List<Pair<TradeOffers.Factory[],Integer>> WANDERING_TRADER_TRADES
      Mappings:
      Namespace Name Mixin selector
      named WANDERING_TRADER_TRADES Lnet/minecraft/village/TradeOffers;WANDERING_TRADER_TRADES:Ljava/util/List;
      intermediary field_17724 Lnet/minecraft/class_3853;field_17724:Ljava/util/List;
      official b Lcry;b:Ljava/util/List;
    • REBALANCED_PROFESSION_TO_LEVELED_TRADE Link icon

      public static final Map<RegistryKey<VillagerProfession>,Int2ObjectMap<TradeOffers.Factory[]>> REBALANCED_PROFESSION_TO_LEVELED_TRADE
      Mappings:
      Namespace Name Mixin selector
      named REBALANCED_PROFESSION_TO_LEVELED_TRADE Lnet/minecraft/village/TradeOffers;REBALANCED_PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;
      intermediary field_45128 Lnet/minecraft/class_3853;field_45128:Ljava/util/Map;
      official c Lcry;c:Ljava/util/Map;
  • Constructor Details Link icon

    • TradeOffers Link icon

      public TradeOffers()
  • Method Details Link icon

    • createLibrarianTradeFactory Link icon

      private static TradeOffers.Factory createLibrarianTradeFactory(int experience)
      Mappings:
      Namespace Name Mixin selector
      named createLibrarianTradeFactory Lnet/minecraft/village/TradeOffers;createLibrarianTradeFactory(I)Lnet/minecraft/village/TradeOffers$Factory;
      intermediary method_52552 Lnet/minecraft/class_3853;method_52552(I)Lnet/minecraft/class_3853$class_1652;
      official a Lcry;a(I)Lcry$g;
    • createMasterLibrarianTradeFactory Link icon

      private static TradeOffers.Factory createMasterLibrarianTradeFactory()
      Mappings:
      Namespace Name Mixin selector
      named createMasterLibrarianTradeFactory Lnet/minecraft/village/TradeOffers;createMasterLibrarianTradeFactory()Lnet/minecraft/village/TradeOffers$Factory;
      intermediary method_52551 Lnet/minecraft/class_3853;method_52551()Lnet/minecraft/class_3853$class_1652;
      official a Lcry;a()Lcry$g;
    • copyToFastUtilMap Link icon

      private static Int2ObjectMap<TradeOffers.Factory[]> copyToFastUtilMap(ImmutableMap<Integer,TradeOffers.Factory[]> map)
      Mappings:
      Namespace Name Mixin selector
      named copyToFastUtilMap Lnet/minecraft/village/TradeOffers;copyToFastUtilMap(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;
      official a Lcry;a(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
    • createPotion Link icon

      private static TradedItem createPotion(RegistryEntry<Potion> potion)
      Mappings:
      Namespace Name Mixin selector
      named createPotion Lnet/minecraft/village/TradeOffers;createPotion(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/village/TradedItem;
      intermediary method_57311 Lnet/minecraft/class_3853;method_57311(Lnet/minecraft/class_6880;)Lnet/minecraft/class_9306;
      official a Lcry;a(Ljg;)Ldjd;
    • createPotionStack Link icon

      private static ItemStack createPotionStack(RegistryEntry<Potion> potion)
      Mappings:
      Namespace Name Mixin selector
      named createPotionStack Lnet/minecraft/village/TradeOffers;createPotionStack(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/item/ItemStack;
      intermediary method_52553 Lnet/minecraft/class_3853;method_52553(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1799;
      official b Lcry;b(Ljg;)Ldak;