net.minecraft.village

class TradeOffers$ProcessItemFactory

implements TradeOffers$Factory

ddb$h
net.minecraft.world.entity.npc.villager.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_432174_$C_433073_

Field summary

Modifier and TypeField
private final TradedItem
a
fromItem
field_18563
toBeProcessed
f_xriqnzpf
unprocessedItem
f_435382_
private final int
b
emeraldCost
field_18565
price
f_vrezjoqy
price
f_437040_
private final ItemStack
c
toItem
field_18566
processed
f_kdtzftpi
processedItem
f_433187_
private final int
d
maxUses
field_18568
maxUses
f_fjgkvjkd
maxUses
f_436950_
private final int
e
villagerXp
field_18569
experience
f_tgtrersi
experience
f_434726_
private final float
f
priceMultiplier
field_18570
multiplier
f_tzmnlyxu
priceMultiplier
f_435445_
private final Optional<RegistryKey<EnchantmentProvider>>
g
enchantmentProvider
field_51618
enchantmentProviderKey
f_ejmritbz
enchantmentProvider
f_433929_

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(axf o, cgk o, 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_goekcyhx(C_bdwnwhiu arg0, C_astfners arg1, C_rlomrsco arg2)
create(ServerWorld arg0, Entity arg1, RandomGenerator arg2)
m_439279_(C_12_ p_450193_, C_507_ p_453348_, C_212974_ arg2)