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 TagKey
<Enchantment> private final int
-
Constructor Summary
ConstructorDescriptionEnchantBookForEmeralds
(int p_296323_, int p_345122_, int p_346010_, TagKey<Enchantment> p_346031_) EnchantBookForEmeralds
(int p_296300_, TagKey<Enchantment> p_345350_) -
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_296323_, int p_345122_, int p_346010_, TagKey<Enchantment> p_346031_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-