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
public static class VillagerTrades.EmeraldForItems
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final ItemCost
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionEmeraldForItems
(ItemCost p_335758_, int p_299559_, int p_300826_, int p_297314_) EmeraldForItems
(ItemLike p_35657_, int p_35658_, int p_35659_, int p_35660_) EmeraldForItems
(ItemLike p_300611_, int p_297735_, int p_299544_, int p_301092_, int p_299898_) -
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_300611_, int p_297735_, int p_299544_, int p_301092_, int p_299898_) -
EmeraldForItems
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-