Package net.minecraft.world.entity.npc
Class VillagerTrades.ItemsForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsForEmeralds
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
VillagerTrades
public static class VillagerTrades.ItemsForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final ItemStack
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionItemsForEmeralds
(Item p_35741_, int p_35742_, int p_35743_, int p_35744_) ItemsForEmeralds
(Item p_35746_, int p_35747_, int p_35748_, int p_35749_, int p_35750_) ItemsForEmeralds
(Item p_301313_, int p_300523_, int p_299652_, int p_301389_, int p_299423_, float p_297510_) ItemsForEmeralds
(ItemStack p_35752_, int p_35753_, int p_35754_, int p_35755_, int p_35756_) ItemsForEmeralds
(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_) ItemsForEmeralds
(Block p_35765_, int p_35766_, int p_35767_, int p_35768_, int p_35769_) -
Method Summary
-
Field Details
-
itemStack
-
emeraldCost
private final int emeraldCost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
-
ItemsForEmeralds
public ItemsForEmeralds(Item p_301313_, int p_300523_, int p_299652_, int p_301389_, int p_299423_, float p_297510_) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-