net.minecraft.world.entity.npc

class VillagerTrades$ItemsForEmeralds

implements VillagerTrades$ItemListing

cpn$i
net.minecraft.world.entity.npc.VillagerTrades$ItemsForEmeralds
net.minecraft.class_3853$class_4165
net.minecraft.village.TradeOffers$SellItemFactory
net.minecraft.world.entity.npc.VillagerTrades$i

Field summary

Modifier and TypeField
private final ItemStack
a
itemStack
field_18571
sell
private final int
b
emeraldCost
field_18572
price
private final int
c
maxUses
field_18574
maxUses
private final int
d
villagerXp
field_18575
experience
private final float
e
priceMultiplier
field_18576
multiplier
private final Optional<ResourceKey<EnchantmentProvider>>
f
enchantmentProvider
field_51619
enchantmentProviderKey

Constructor summary

ModifierConstructor
public (Block block, int price, int count, int maxUses, int experience)
public (Item item, int price, int count, int experience)
public (Item item, int price, int count, int maxUses, int experience)
public (ItemStack stack, int price, int count, int maxUses, int experience)
public (Item item, int price, int count, int maxUses, int experience, float multiplier)
public (Item item, int price, int count, int maxUses, int experience, float multiplier, ResourceKey<EnchantmentProvider> enchantmentProviderKey)
public (ItemStack stack, int price, int count, int maxUses, int experience, float multiplier)
public (ItemStack sell, int price, int count, int maxUses, int experience, float multiplier, Optional<ResourceKey<EnchantmentProvider>> enchantmentProviderKey)

Method summary

Modifier and TypeMethod
public MerchantOffer
a(bvk arg0, bam arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
create(Entity arg0, Random arg1)