Package net.minecraft.world.entity.npc
Class VillagerTrades.EmeraldForItems
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.EmeraldForItems
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
- VillagerTrades
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmeraldForItems(ItemLike p_35657_, int p_35658_, int p_35659_, int p_35660_)
-
Method Summary
-
Field Details
-
item
-
cost
private final int cost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
EmeraldForItems
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-