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.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
DEFAULT_LIMIT
f_336891_
public static final com.mojang.serialization.MapCodec<EnchantedCountIncreaseFunction>
b
CODEC
field_45833
CODEC
f_337093_
private final Holder<Enchantment>
c
enchantment
field_51798
enchantment
f_337606_
private final NumberProvider
d
value
field_1082
count
f_337272_
private final int
e
limit
field_1083
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()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
private boolean
c()
hasLimit()
method_549()
hasLimit()
m_339026_()
public ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 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)
builder(RegistryWrapper$WrapperLookup registryLookup, LootNumberProvider count)
m_339062_(C_213466_$C_254607_ p_345331_, C_141501_ p_344068_)