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

public class LimitCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dml
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
final IntRange
a
limiter
field_1044
limit
f_80635_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions, IntRange limit)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(buw arg0, dlc 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(dla arg0)
limitCount(IntRange arg0)
method_506(class_42 arg0)
builder(BoundedIntUnaryOperator limit)
m_165215_(C_141456_ p_165216_)