net.minecraft.world.entity.npc.villager

class VillagerTrades$ItemsAndEmeraldsToItems

implements VillagerTrades$ItemListing

ddb$h
net.minecraft.world.entity.npc.villager.VillagerTrades$ItemsAndEmeraldsToItems
net.minecraft.class_3853$class_4164
net.minecraft.village.TradeOffers$ProcessItemFactory
net.minecraft.src.C_432174_$C_433073_
net.minecraft.world.entity.npc.villager.VillagerTrades$h

字段概要

修饰符与类型字段
private final ItemCost
a
fromItem
field_18563
toBeProcessed
f_435382_
private final int
b
emeraldCost
field_18565
price
f_437040_
private final ItemStack
c
toItem
field_18566
processed
f_433187_
private final int
d
maxUses
field_18568
maxUses
f_436950_
private final int
e
villagerXp
field_18569
experience
f_434726_
private final float
f
priceMultiplier
field_18570
multiplier
f_435445_
private final Optional<ResourceKey<EnchantmentProvider>>
g
enchantmentProvider
field_51618
enchantmentProviderKey
f_433929_

构造函数概要

修饰符构造函数
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(axf arg0, cgk arg1, bgr 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)
m_439279_(C_12_ p_450193_, C_507_ p_453348_, C_212974_ arg2)