net.minecraft.world.level.storage.loot.functions

public class EnchantedCountIncreaseFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esw
net.minecraft.world.level.storage.loot.functions.EnchantedCountIncreaseFunction
net.minecraft.class_125
net.minecraft.unmapped.C_edcogzgr
net.minecraft.loot.function.EnchantedCountIncreaseLootFunction
net.minecraft.loot.function.EnchantedCountIncreaseLootFunction
net.minecraft.src.C_336510_
net.minecraft.world.level.storage.loot.functions.EnchantedCountIncreaseFunction

Field summary

Modifier and TypeField
public static final int
a
NO_LIMIT
field_31854
f_fyibbkne
DEFAULT_LIMIT
f_336891_
public static final com.mojang.serialization.MapCodec<EnchantedCountIncreaseFunction>
b
CODEC
field_45833
f_keahoqyn
CODEC
CODEC
f_337093_
private final Holder<Enchantment>
c
enchantment
field_51798
f_diclkbkx
enchantment
enchantment
f_337606_
private final NumberProvider
d
value
field_1082
f_jjkqajzn
count
count
f_337272_
private final int
e
limit
field_1083
f_ghflluqa
limit
limit
f_337685_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, Holder<Enchantment> enchantment, NumberProvider count, int limit)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<EnchantedCountIncreaseFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
private boolean
c()
hasLimit()
method_549()
m_xfeshmzb()
hasLimit()
m_339026_()
public ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_345394_, C_2811_ arg1)
public static EnchantedCountIncreaseFunction$Builder
a(jo$a arg0, evy arg1)
lootingMultiplier(HolderLookup$Provider arg0, NumberProvider arg1)
method_547(class_7225$class_7874 arg0, class_5658 arg1)
m_kgczpckh(C_vtbxyypo$C_etmlgbig arg0, C_iajmfyig arg1)
builder(RegistryWrapper$WrapperLookup registryLookup, LootNumberProvider count)
m_339062_(C_213466_$C_254607_ p_345331_, C_141501_ p_344068_)