net.minecraft.loot.function

public class LimitCountLootFunction

extends ConditionalLootFunction

All mapped superinterfaces:

LootFunction, LootContextAware

fkj
net.minecraft.world.level.storage.loot.functions.LimitCount
net.minecraft.class_114
net.minecraft.loot.function.LimitCountLootFunction
net.minecraft.unmapped.C_oluvnikk
net.minecraft.loot.function.LimitCountLootFunction
net.minecraft.src.C_2921_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LimitCountLootFunction>
a
CODEC
field_45829
CODEC
f_yzthogay
CODEC
f_291550_
private final BoundedIntUnaryOperator
b
limiter
field_1044
limit
f_czspugcs
limit
f_80635_

Constructor summary

ModifierConstructor
private (List<LootCondition> conditions, BoundedIntUnaryOperator limit)

Method summary

Modifier and TypeMethod
public LootFunctionType<LimitCountLootFunction>
b()
getType()
method_29321()
getType()
m_ngvoddkv()
getType()
m_7162_()
public Set<ContextParameter<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
m_oozesizv()
getRequiredParameters()
m_6231_()
public ItemStack
a(dhp o, fiy 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_80645_, C_2811_ arg1)
public static ConditionalLootFunction$Builder<?>
a(fix o)
limitCount(IntRange arg0)
method_506(class_42 arg0)
builder(BoundedIntUnaryOperator limit)
m_atenogwe(C_rcavspxn arg0)
builder(BoundedIntUnaryOperator limit)
m_165215_(C_141456_ p_165216_)