Package net.minecraft.village
Class TradeOffers
java.lang.Object
net.minecraft.village.TradeOffers
- Mappings:
Namespace Name official bydintermediary net/minecraft/class_3853named net/minecraft/village/TradeOffers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate 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 class -
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 Int2ObjectMap<TradeOffers.Factory[]> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_MAX_USES
private static final int DEFAULT_MAX_USES- See Also:
- Mappings:
Namespace Name Mixin selector official cLbyd;c:Iintermediary field_30615Lnet/minecraft/class_3853;field_30615:Inamed DEFAULT_MAX_USESLnet/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 dLbyd;d:Iintermediary field_30616Lnet/minecraft/class_3853;field_30616:Inamed COMMON_MAX_USESLnet/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 eLbyd;e:Iintermediary field_30617Lnet/minecraft/class_3853;field_30617:Inamed RARE_MAX_USESLnet/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 fLbyd;f:Iintermediary field_30618Lnet/minecraft/class_3853;field_30618:Inamed NOVICE_SELL_XPLnet/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 gLbyd;g:Iintermediary field_30619Lnet/minecraft/class_3853;field_30619:Inamed NOVICE_BUY_XPLnet/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 hLbyd;h:Iintermediary field_30620Lnet/minecraft/class_3853;field_30620:Inamed APPRENTICE_SELL_XPLnet/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 iLbyd;i:Iintermediary field_30621Lnet/minecraft/class_3853;field_30621:Inamed APPRENTICE_BUY_XPLnet/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 jLbyd;j:Iintermediary field_30622Lnet/minecraft/class_3853;field_30622:Inamed JOURNEYMAN_SELL_XPLnet/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 kLbyd;k:Iintermediary field_30623Lnet/minecraft/class_3853;field_30623:Inamed JOURNEYMAN_BUY_XPLnet/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 lLbyd;l:Iintermediary field_30624Lnet/minecraft/class_3853;field_30624:Inamed EXPERT_SELL_XPLnet/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 mLbyd;m:Iintermediary field_30625Lnet/minecraft/class_3853;field_30625:Inamed EXPERT_BUY_XPLnet/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 nLbyd;n:Iintermediary field_30626Lnet/minecraft/class_3853;field_30626:Inamed MASTER_TRADE_XPLnet/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 oLbyd;o:Fintermediary field_30627Lnet/minecraft/class_3853;field_30627:Fnamed LOW_PRICE_MULTIPLIERLnet/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 pLbyd;p:Fintermediary field_30628Lnet/minecraft/class_3853;field_30628:Fnamed HIGH_PRICE_MULTIPLIERLnet/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 aLbyd;a:Ljava/util/Map;intermediary field_17067Lnet/minecraft/class_3853;field_17067:Ljava/util/Map;named PROFESSION_TO_LEVELED_TRADELnet/minecraft/village/TradeOffers;PROFESSION_TO_LEVELED_TRADE:Ljava/util/Map;
-
WANDERING_TRADER_TRADES
- Mappings:
Namespace Name Mixin selector official bLbyd;b:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary field_17724Lnet/minecraft/class_3853;field_17724:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named WANDERING_TRADER_TRADESLnet/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 aLbyd;a(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;named copyToFastUtilMapLnet/minecraft/village/TradeOffers;copyToFastUtilMap(Lcom/google/common/collect/ImmutableMap;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-