net.minecraft.village

class TradeOffers$ProcessItemFactory

implements TradeOffers$Factory

cmo$h
net.minecraft.world.entity.npc.VillagerTrades$ItemsAndEmeraldsToItems
net.minecraft.class_3853$class_4164
net.minecraft.village.TradeOffers$ProcessItemFactory
net.minecraft.unmapped.C_hqrlptsj$C_lrpwofjn
net.minecraft.village.TradeOffers$ProcessItemFactory
net.minecraft.src.C_1122_$C_1129_

Field summary

Modifier and TypeField
private final TradedItem
a
fromItem
field_18563
toBeProcessed
f_xriqnzpf
secondBuy
f_35708_
private final int
b
emeraldCost
field_18565
price
f_vrezjoqy
price
f_35710_
private final ItemStack
c
toItem
field_18566
processed
f_kdtzftpi
sell
f_35711_
private final int
d
maxUses
field_18568
maxUses
f_fjgkvjkd
maxUses
f_35713_
private final int
e
villagerXp
field_18569
experience
f_tgtrersi
experience
f_35714_
private final float
f
priceMultiplier
field_18570
multiplier
f_tzmnlyxu
priceMultiplier
f_35715_
private final Optional<RegistryKey<EnchantmentProvider>>
g
enchantmentProvider
field_51618
enchantmentProviderKey
f_ejmritbz
f_337541_

Constructor summary

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

Method summary

Modifier and TypeMethod
public TradeOffer
a(bsr o, ayw arg1)
getOffer(Entity arg0, RandomSource arg1)
method_7246(class_1297 arg0, class_5819 arg1)
create(Entity arg0, Random arg1)
m_goekcyhx(C_astfners arg0, C_rlomrsco arg1)
create(Entity arg0, RandomGenerator arg1)
m_213663_(C_507_ p_219697_, C_212974_ arg1)