net.minecraft.world.entity.npc

public class VillagerTrades

cpn
net.minecraft.world.entity.npc.VillagerTrades
net.minecraft.class_3853
net.minecraft.village.TradeOffers
net.minecraft.world.entity.npc.VillagerTrades

Field summary

Modifier and TypeField
private static final int
e
DEFAULT_SUPPLY
field_30615
DEFAULT_MAX_USES
private static final int
f
COMMON_ITEMS_SUPPLY
field_30616
COMMON_MAX_USES
private static final int
g
UNCOMMON_ITEMS_SUPPLY
field_30617
RARE_MAX_USES
private static final int
h
XP_LEVEL_1_SELL
field_30618
NOVICE_SELL_XP
private static final int
i
XP_LEVEL_1_BUY
field_30619
NOVICE_BUY_XP
private static final int
j
XP_LEVEL_2_SELL
field_30620
APPRENTICE_SELL_XP
private static final int
k
XP_LEVEL_2_BUY
field_30621
APPRENTICE_BUY_XP
private static final int
l
XP_LEVEL_3_SELL
field_30622
JOURNEYMAN_SELL_XP
private static final int
m
XP_LEVEL_3_BUY
field_30623
JOURNEYMAN_BUY_XP
private static final int
n
XP_LEVEL_4_SELL
field_30624
EXPERT_SELL_XP
private static final int
o
XP_LEVEL_4_BUY
field_30625
EXPERT_BUY_XP
private static final int
p
XP_LEVEL_5_TRADE
field_30626
MASTER_TRADE_XP
private static final float
q
LOW_TIER_PRICE_MULTIPLIER
field_30627
LOW_PRICE_MULTIPLIER
private static final float
r
HIGH_TIER_PRICE_MULTIPLIER
field_30628
HIGH_PRICE_MULTIPLIER
public static final Map<VillagerProfession, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>>
a
TRADES
field_17067
PROFESSION_TO_LEVELED_TRADE
public static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>
b
WANDERING_TRADER_TRADES
field_17724
WANDERING_TRADER_TRADES
private static final VillagerTrades$TreasureMapForEmeralds
s
DESERT_MAP
field_46167
SELL_DESERT_VILLAGE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
t
SAVANNA_MAP
field_46168
SELL_SAVANNA_VILLAGE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
u
PLAINS_MAP
field_46169
SELL_PLAINS_VILLAGE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
v
TAIGA_MAP
field_46170
SELL_TAIGA_VILLAGE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
w
SNOWY_MAP
field_46171
SELL_SNOWY_VILLAGE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
x
JUNGLE_MAP
field_46172
SELL_JUNGLE_TEMPLE_MAP_TRADE
private static final VillagerTrades$TreasureMapForEmeralds
y
SWAMP_MAP
field_46173
SELL_SWAMP_HUT_MAP_TRADE
public static final Map<VillagerProfession, it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>>
c
EXPERIMENTAL_TRADES
field_45128
REBALANCED_PROFESSION_TO_LEVELED_TRADE
public static final List<org.apache.commons.lang3.tuple.Pair<VillagerTrades$ItemListing[], Integer>>
d
EXPERIMENTAL_WANDERING_TRADER_TRADES
field_45129
REBALANCED_WANDERING_TRADER_TRADES

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static VillagerTrades$ItemListing
a(int arg0)
commonBooks(int arg0)
method_52552(int arg0)
createLibrarianTradeFactory(int experience)
private static VillagerTrades$ItemListing
a()
specialBooks()
method_52551()
createMasterLibrarianTradeFactory()
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>
a(com.google.common.collect.ImmutableMap<Integer, cpn$g[]> arg0)
toIntMap(com.google.common.collect.ImmutableMap<Integer, VillagerTrades$ItemListing[]> arg0)
method_16928(com.google.common.collect.ImmutableMap<Integer, class_3853$class_1652[]> arg0)
copyToFastUtilMap(com.google.common.collect.ImmutableMap<Integer, TradeOffers$Factory[]> map)
private static ItemCost
a(jq<czm> arg0)
potionCost(Holder<Potion> arg0)
method_57311(class_6880<class_1842> arg0)
createPotion(RegistryEntry<Potion> potion)
private static ItemStack
b(jq<czm> arg0)
potion(Holder<Potion> arg0)
method_52553(class_6880<class_1842> arg0)
createPotionStack(RegistryEntry<Potion> potion)