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

public class LimitCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

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

Field summary

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

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, IntRange limit)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public ItemStack
a(cjf arg0, ecq 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_80645_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(ecp arg0)
limitCount(IntRange arg0)
method_506(class_42 arg0)
m_atenogwe(C_rcavspxn arg0)
builder(BoundedIntUnaryOperator limit)
builder(BoundedIntUnaryOperator limit)
m_165215_(C_141456_ p_165216_)