net.minecraft.world.entity.npc

class VillagerTrades$EnchantBookForEmeralds

implements VillagerTrades$ItemListing

cmp$d
net.minecraft.world.entity.npc.VillagerTrades$EnchantBookForEmeralds
net.minecraft.class_3853$class_1648
net.minecraft.unmapped.C_hqrlptsj$C_oigljzdw
net.minecraft.village.TradeOffers$EnchantBookFactory
net.minecraft.village.TradeOffers$EnchantBookFactory
net.minecraft.src.C_1122_$C_1126_
net.minecraft.world.entity.npc.VillagerProfession$d

Field summary

Modifier and TypeField
private final int
a
villagerXp
field_18557
f_jzuznifm
experience
experience
f_35681_
private final List<Enchantment>
b
tradeableEnchantments
field_45131
f_fykexdki
possibleEnchantments
possibleEnchantments
f_291881_
private final int
c
minLevel
field_45132
f_ergftuze
minLevel
minLevel
f_291692_
private final int
d
maxLevel
field_45133
f_ewyrltat
maxLevel
maxLevel
f_290726_

Constructor summary

ModifierConstructor
public (int experience)
public (int experience, Enchantment... possibleEnchantments)
public (int experience, int minLevel, int maxLevel, Enchantment... possibleEnchantments)

Method summary

Modifier and TypeMethod
private Enchantment
a(azh arg0, cpm arg1)
getEnchantment(RandomSource arg0, FeatureFlagSet arg1)
method_59891(class_5819 arg0, class_7699 arg1)
m_wbxlykko(C_rlomrsco arg0, C_czxxrbcp arg1)
chooseEnchantment(Random random, FeatureSet enabledFeatures)
m_wbxlykko(RandomGenerator random, FeatureFlagBitSet arg1)
m_336402_(C_212974_ p_336408_, C_243488_ arg1)
public MerchantOffer
a(bsv arg0, azh arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
m_goekcyhx(C_astfners arg0, C_rlomrsco arg1)
create(Entity arg0, Random arg1)
create(Entity arg0, RandomGenerator arg1)
m_213663_(C_507_ p_219689_, C_212974_ arg1)