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

public class LimitCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eya
net.minecraft.world.level.storage.loot.functions.LimitCount
net.minecraft.class_114
net.minecraft.loot.function.LimitCountLootFunction
net.minecraft.world.level.storage.loot.functions.LootItemFunctionLimitCount

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LimitCount>
a
CODEC
field_45829
CODEC
private final IntRange
b
limiter
field_1044
limit

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType<LimitCount>
b()
getType()
method_29321()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(ewo arg0)
limitCount(IntRange arg0)
method_506(class_42 arg0)
builder(BoundedIntUnaryOperator limit)