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.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
CODEC
f_291550_
private final IntRange
b
limiter
field_1044
limit
f_80635_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(cjf arg0, ecq arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 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)
builder(BoundedIntUnaryOperator limit)
m_165215_(C_141456_ p_165216_)