net.minecraft.world.entity.npc

class VillagerTrades$EnchantBookForEmeralds

implements VillagerTrades$ItemListing

coo$d
net.minecraft.world.entity.npc.VillagerTrades$EnchantBookForEmeralds
net.minecraft.class_3853$class_1648
net.minecraft.village.TradeOffers$EnchantBookFactory
net.minecraft.world.entity.npc.VillagerTrades$d

Field summary

Modifier and TypeField
private final int
a
villagerXp
field_18557
experience
private final TagKey<Enchantment>
b
tradeableEnchantments
field_45131
possibleEnchantments
private final int
c
minLevel
field_45132
minLevel
private final int
d
maxLevel
field_45133
maxLevel

Constructor summary

ModifierConstructor
public (int experience, TagKey<Enchantment> possibleEnchantments)
public (int experience, int minLevel, int maxLevel, TagKey<Enchantment> possibleEnchantments)

Method summary

Modifier and TypeMethod
public MerchantOffer
a(bum arg0, azh arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
create(Entity arg0, Random arg1)