net.minecraft.world.entity.npc

class VillagerTrades$EnchantBookForEmeralds

implements VillagerTrades$ItemListing

cmq$d
net.minecraft.world.entity.npc.VillagerTrades$EnchantBookForEmeralds
net.minecraft.class_3853$class_1648
net.minecraft.village.TradeOffers$EnchantBookFactory
net.minecraft.src.C_1122_$C_1126_
net.minecraft.world.entity.npc.VillagerTrades$d

Field summary

Modifier and TypeField
private final int
a
villagerXp
field_18557
experience
f_35681_
private final List<Enchantment>
b
tradeableEnchantments
field_45131
possibleEnchantments
f_291881_
private final int
c
minLevel
field_45132
minLevel
f_291692_
private final int
d
maxLevel
field_45133
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, cpn arg1)
getEnchantment(RandomSource arg0, FeatureFlagSet arg1)
method_59891(class_5819 arg0, class_7699 arg1)
chooseEnchantment(Random random, FeatureSet enabledFeatures)
m_336402_(C_212974_ p_336408_, C_243488_ arg1)
public MerchantOffer
a(bsw arg0, azh arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
create(Entity arg0, Random arg1)
m_213663_(C_507_ p_219689_, C_212974_ arg1)