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_301215_, 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
-