Package net.minecraft.world.entity.npc
Class VillagerTrades.EnchantBookForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.EnchantBookForEmeralds
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
- VillagerTrades
static class VillagerTrades.EnchantBookForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final List<Enchantment>
private final int
-
Constructor Summary
ConstructorDescriptionEnchantBookForEmeralds
(int p_35683_) EnchantBookForEmeralds
(int p_298418_, int p_298463_, int p_299740_, Enchantment... p_298809_) EnchantBookForEmeralds
(int p_299760_, Enchantment... p_301263_) -
Method Summary
-
Field Details
-
villagerXp
private final int villagerXp -
tradeableEnchantments
-
minLevel
private final int minLevel -
maxLevel
private final int maxLevel
-
-
Constructor Details
-
EnchantBookForEmeralds
public EnchantBookForEmeralds(int p_35683_) -
EnchantBookForEmeralds
-
EnchantBookForEmeralds
public EnchantBookForEmeralds(int p_298418_, int p_298463_, int p_299740_, Enchantment... p_298809_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-