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
public static class VillagerTrades.EnchantBookForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final TagKey
<Enchantment> private final int
-
Constructor Summary
ConstructorDescriptionEnchantBookForEmeralds
(int p_35683_, int p_342516_, int p_342586_, TagKey<Enchantment> p_344948_) EnchantBookForEmeralds
(int p_299760_, TagKey<Enchantment> p_345024_) -
Method Summary
-
Field Details
-
villagerXp
private final int villagerXp -
tradeableEnchantments
-
minLevel
private final int minLevel -
maxLevel
private final int maxLevel
-
-
Constructor Details
-
EnchantBookForEmeralds
-
EnchantBookForEmeralds
public EnchantBookForEmeralds(int p_35683_, int p_342516_, int p_342586_, TagKey<Enchantment> p_344948_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-