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
-
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_302016_, int p_302006_, int p_302008_, int p_302010_, int p_301989_, float p_302037_) ItemsForEmeralds
(Item p_345085_, int p_346208_, int p_345650_, int p_345298_, int p_345652_, float p_346098_, ResourceKey<EnchantmentProvider> p_345759_) 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_344989_, int p_345411_, int p_345770_, int p_344818_, int p_345507_, float p_344802_, Optional<ResourceKey<EnchantmentProvider>> p_345806_) 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_302016_, int p_302006_, int p_302008_, int p_302010_, int p_301989_, float p_302037_) -
ItemsForEmeralds
public ItemsForEmeralds(Item p_345085_, int p_346208_, int p_345650_, int p_345298_, int p_345652_, float p_346098_, ResourceKey<EnchantmentProvider> p_345759_) -
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_344989_, int p_345411_, int p_345770_, int p_344818_, int p_345507_, float p_344802_, Optional<ResourceKey<EnchantmentProvider>> p_345806_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-