net.minecraft.world.entity.npc

class VillagerTrades$ItemsAndEmeraldsToItems

implements VillagerTrades$ItemListing

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

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(axf arg0, cgi arg1, bgq arg2)
getOffer(ServerLevel arg0, Entity arg1, RandomSource arg2)
method_7246(class_3218 arg0, class_1297 arg1, class_5819 arg2)
create(ServerWorld arg0, Entity arg1, Random arg2)