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

public class EnchantedCountIncreaseFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

fam
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

Field summary

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

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()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
private boolean
c()
hasLimit()
method_549()
m_xfeshmzb()
hasLimit()
isLimited()
public ItemStack
a(czd arg0, ezh 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)
public static EnchantedCountIncreaseFunction$Builder
a(jg$a arg0, fdm 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 registries, LootNumberProvider count)
lootingBuilder(HolderLookup$Provider registries, LootNumberProvider count)