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
Modifier and TypeFieldDescriptionprivate final int
private final ItemStack
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionEmeraldForItems
(ItemStack p_294237_, int p_294800_, int p_295111_, int p_294137_) EmeraldForItems
(ItemLike p_35657_, int p_35658_, int p_35659_, int p_35660_) EmeraldForItems
(ItemLike p_295166_, int p_294790_, int p_294810_, int p_295575_, int p_294582_) -
Method Summary
-
Field Details
-
itemStack
-
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
emeraldAmount
private final int emeraldAmount -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
EmeraldForItems
-
EmeraldForItems
public EmeraldForItems(ItemLike p_295166_, int p_294790_, int p_294810_, int p_295575_, int p_294582_) -
EmeraldForItems
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-