net.minecraft.world.entity.npc

class VillagerTrades$ItemsAndEmeraldsToItems

implements VillagerTrades$ItemListing

cuj$h
net.minecraft.world.entity.npc.VillagerTrades$ItemsAndEmeraldsToItems
net.minecraft.class_3853$class_4164
net.minecraft.village.TradeOffers$ProcessItemFactory
net.minecraft.src.C_1122_$C_1129_
net.minecraft.world.entity.npc.VillagerTrades$h

字段概要

修饰符与类型字段
private final ItemCost
a
fromItem
field_18563
toBeProcessed
f_35708_
private final int
b
emeraldCost
field_18565
price
f_35710_
private final ItemStack
c
toItem
field_18566
processed
f_35711_
private final int
d
maxUses
field_18568
maxUses
f_35713_
private final int
e
villagerXp
field_18569
experience
f_35714_
private final float
f
priceMultiplier
field_18570
multiplier
f_35715_
private final Optional<ResourceKey<EnchantmentProvider>>
g
enchantmentProvider
field_51618
enchantmentProviderKey
f_337541_

构造函数概要

修饰符构造函数
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)

方法概要

修饰符与类型方法
public MerchantOffer
a(bzm arg0, bck arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
create(Entity arg0, Random arg1)
m_213663_(C_507_ p_219697_, C_212974_ arg1)