Class TradeOffers

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

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

    • PROFESSION_TO_LEVELED_TRADE

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