Package net.minecraft.world.entity.npc
Class VillagerTrades.EnchantedItemForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.EnchantedItemForEmeralds
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
- VillagerTrades
static class VillagerTrades.EnchantedItemForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private ItemStack
private int
private float
private int
-
Constructor Summary
ConstructorDescriptionEnchantedItemForEmeralds(Item p_35693_, int p_35694_, int p_35695_, int p_35696_)
EnchantedItemForEmeralds(Item p_35698_, int p_35699_, int p_35700_, int p_35701_, float p_35702_)
-
Method Summary
-
Field Details
-
itemStack
-
baseEmeraldCost
private final int baseEmeraldCost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
EnchantedItemForEmeralds
-
EnchantedItemForEmeralds
public EnchantedItemForEmeralds(Item p_35698_, int p_35699_, int p_35700_, int p_35701_, float p_35702_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-