net.minecraft.world.entity.npc

public class VillagerTrades

cbl
net.minecraft.world.entity.npc.VillagerTrades
net.minecraft.class_3853
net.minecraft.village.TradeOffers
net.minecraft.src.C_1122_
net.minecraft.world.entity.npc.VillagerTrades

Field summary

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

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)
m_295101_(int p_301375_)
private static VillagerTrades$ItemListing
a()
specialBooks()
method_52551()
createMasterLibrarianTradeFactory()
m_293291_()
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<VillagerTrades$ItemListing[]>
a(com.google.common.collect.ImmutableMap<Integer, cbl$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)
m_35630_(com.google.common.collect.ImmutableMap<Integer, C_1122_$C_1128_[]> p_35631_)
private static ItemStack
a(clc arg0)
potion(Potion arg0)
method_52553(class_1842 arg0)
createPotionStack(Potion potion)
m_293864_(C_1440_ p_298471_)
private static ItemStack
a(cja arg0, cno arg1, int arg2)
enchant(Item arg0, Enchantment arg1, int arg2)
method_53832(class_1792 arg0, class_1887 arg1, int arg2)
enchant(Item item, Enchantment enchantment, int level)
m_292756_(C_1381_ p_297234_, C_1505_ p_297599_, int p_298408_)