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 Optional
<ResourceKey<EnchantmentProvider>> 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
(Item p_345207_, int p_343082_, int p_342104_, int p_342450_, int p_342353_, float p_343481_, ResourceKey<EnchantmentProvider> p_344418_) 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
(ItemStack p_343244_, int p_342553_, int p_342232_, int p_342725_, int p_344039_, float p_342707_, Optional<ResourceKey<EnchantmentProvider>> p_343690_) 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 -
enchantmentProvider
-
-
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(Item p_345207_, int p_343082_, int p_342104_, int p_342450_, int p_342353_, float p_343481_, ResourceKey<EnchantmentProvider> p_344418_) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack p_35758_, int p_35759_, int p_35760_, int p_35761_, int p_35762_, float p_35763_) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack p_343244_, int p_342553_, int p_342232_, int p_342725_, int p_344039_, float p_342707_, Optional<ResourceKey<EnchantmentProvider>> p_343690_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-