Class TradeOffers

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

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

    • DEFAULT_MAX_USES

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

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

      private static final int RARE_MAX_USES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbni;e:I
      intermediary field_30617 Lnet/minecraft/class_3853;field_30617:I
      named RARE_MAX_USES Lnet/minecraft/village/TradeOffers;RARE_MAX_USES:I
    • NOVICE_SELL_XP

      private static final int NOVICE_SELL_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbni;f:I
      intermediary field_30618 Lnet/minecraft/class_3853;field_30618:I
      named NOVICE_SELL_XP Lnet/minecraft/village/TradeOffers;NOVICE_SELL_XP:I
    • NOVICE_BUY_XP

      private static final int NOVICE_BUY_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbni;g:I
      intermediary field_30619 Lnet/minecraft/class_3853;field_30619:I
      named NOVICE_BUY_XP Lnet/minecraft/village/TradeOffers;NOVICE_BUY_XP:I
    • APPRENTICE_SELL_XP

      private static final int APPRENTICE_SELL_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lbni;h:I
      intermediary field_30620 Lnet/minecraft/class_3853;field_30620:I
      named APPRENTICE_SELL_XP Lnet/minecraft/village/TradeOffers;APPRENTICE_SELL_XP:I
    • APPRENTICE_BUY_XP

      private static final int APPRENTICE_BUY_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lbni;i:I
      intermediary field_30621 Lnet/minecraft/class_3853;field_30621:I
      named APPRENTICE_BUY_XP Lnet/minecraft/village/TradeOffers;APPRENTICE_BUY_XP:I
    • JOURNEYMAN_SELL_XP

      private static final int JOURNEYMAN_SELL_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lbni;j:I
      intermediary field_30622 Lnet/minecraft/class_3853;field_30622:I
      named JOURNEYMAN_SELL_XP Lnet/minecraft/village/TradeOffers;JOURNEYMAN_SELL_XP:I
    • JOURNEYMAN_BUY_XP

      private static final int JOURNEYMAN_BUY_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbni;k:I
      intermediary field_30623 Lnet/minecraft/class_3853;field_30623:I
      named JOURNEYMAN_BUY_XP Lnet/minecraft/village/TradeOffers;JOURNEYMAN_BUY_XP:I
    • EXPERT_SELL_XP

      private static final int EXPERT_SELL_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbni;l:I
      intermediary field_30624 Lnet/minecraft/class_3853;field_30624:I
      named EXPERT_SELL_XP Lnet/minecraft/village/TradeOffers;EXPERT_SELL_XP:I
    • EXPERT_BUY_XP

      private static final int EXPERT_BUY_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lbni;m:I
      intermediary field_30625 Lnet/minecraft/class_3853;field_30625:I
      named EXPERT_BUY_XP Lnet/minecraft/village/TradeOffers;EXPERT_BUY_XP:I
    • MASTER_TRADE_XP

      private static final int MASTER_TRADE_XP
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lbni;n:I
      intermediary field_30626 Lnet/minecraft/class_3853;field_30626:I
      named MASTER_TRADE_XP Lnet/minecraft/village/TradeOffers;MASTER_TRADE_XP:I
    • LOW_PRICE_MULTIPLIER

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

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

      public static final Map<VillagerProfession,Int2ObjectMap<TradeOffers.Factory[]>> PROFESSION_TO_LEVELED_TRADE
      Mappings:
      Namespace Name Mixin selector
      official a Lbni;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

      public static final Int2ObjectMap<TradeOffers.Factory[]> WANDERING_TRADER_TRADES
      Mappings:
      Namespace Name Mixin selector
      official b Lbni;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 Lbni;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;