Package net.minecraft.loot.functions
Class LimitCount
java.lang.Object
net.minecraft.loot.LootFunction
net.minecraft.loot.functions.LimitCount
- All Implemented Interfaces:
BiFunction<ItemStack,
,LootContext, ItemStack> ILootFunction
,IParameterized
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.LootFunction
LootFunction.Builder<T extends LootFunction.Builder<T>>
Nested classes/interfaces inherited from interface net.minecraft.loot.functions.ILootFunction
ILootFunction.IBuilder
-
Field Summary
Fields inherited from class net.minecraft.loot.LootFunction
predicates
-
Constructor Summary
ModifierConstructorDescriptionprivate
LimitCount
(ILootCondition[] p_i51232_1_, IntClamper p_i51232_2_) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
static LootFunction.Builder<?>
limitCount
(IntClamper p_215911_0_) run
(ItemStack p_215859_1_, LootContext p_215859_2_) Methods inherited from class net.minecraft.loot.LootFunction
apply, simpleBuilder, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface net.minecraft.loot.IParameterized
getReferencedContextParams
-
Field Details
-
limiter
-
-
Constructor Details
-
LimitCount
-
-
Method Details
-
getType
-
run
- Specified by:
run
in classLootFunction
-
limitCount
-