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_296300_, int p_294555_, int p_296182_, Enchantment... p_295821_) EnchantBookForEmeralds
(int p_296323_, Enchantment... p_294878_) -
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_296300_, int p_294555_, int p_296182_, Enchantment... p_295821_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-