net.minecraft.world.entity.npc

class VillagerTrades$ItemsAndEmeraldsToItems

implements VillagerTrades$ItemListing

coo$h
net.minecraft.world.entity.npc.VillagerTrades$ItemsAndEmeraldsToItems
net.minecraft.class_3853$class_4164
net.minecraft.village.TradeOffers$ProcessItemFactory
net.minecraft.world.entity.npc.VillagerTrades$h

Field summary

Modifier and TypeField
private final ItemCost
a
fromItem
field_18563
toBeProcessed
private final int
b
emeraldCost
field_18565
price
private final ItemStack
c
toItem
field_18566
processed
private final int
d
maxUses
field_18568
maxUses
private final int
e
villagerXp
field_18569
experience
private final float
f
priceMultiplier
field_18570
multiplier
private final Optional<ResourceKey<EnchantmentProvider>>
g
enchantmentProvider
field_51618
enchantmentProviderKey

Constructor summary

ModifierConstructor
public (ItemLike item, int count, int price, Item processed, int processedCount, int maxUses, int experience, float multiplier)
private (ItemLike item, int count, int price, ItemStack processed, int processedCount, int maxUses, int experience, float multiplier)
(ItemLike item, int count, int price, ItemLike processed, int processedCount, int maxUses, int experience, float multiplier, ResourceKey<EnchantmentProvider> enchantmentProviderKey)
public (ItemCost toBeProcessed, int count, ItemStack processed, int maxUses, int processedCount, float multiplier, Optional<ResourceKey<EnchantmentProvider>> enchantmentProviderKey)

Method summary

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