net.minecraft.loot.function

public class EnchantedCountIncreaseLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

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

Field summary

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

Constructor summary

ModifierConstructor
(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, LootNumberProvider count, int limit)

Method summary

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