Uses of Class
net.minecraft.world.level.storage.loot.IntRange
Packages that use IntRange
Package
Description
-
Uses of IntRange in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type IntRangeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IntRange>
IntRange.CODEC
private static final com.mojang.serialization.Codec<IntRange>
IntRange.RECORD_CODEC
Methods in net.minecraft.world.level.storage.loot that return IntRangeModifier and TypeMethodDescriptionstatic IntRange
IntRange.exact
(int p_165010_) static IntRange
IntRange.lowerBound
(int p_165027_) static IntRange
IntRange.range
(int p_165012_, int p_165013_) static IntRange
IntRange.upperBound
(int p_165041_) -
Uses of IntRange in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as IntRangeMethods in net.minecraft.world.level.storage.loot.functions with parameters of type IntRangeModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
LimitCount.limitCount
(IntRange p_165216_) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type IntRangeModifierConstructorDescriptionprivate
LimitCount
(List<LootItemCondition> p_298546_, IntRange p_165214_) -
Uses of IntRange in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as IntRangeModifier and TypeFieldDescriptionprivate final IntRange
ValueCheckCondition.range
The field for therange
record component.private final IntRange
TimeCheck.Builder.value
private final IntRange
TimeCheck.value
The field for thevalue
record component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type IntRangeModifier and TypeFieldDescriptionEntityHasScoreCondition.Builder.scores
EntityHasScoreCondition.scores
The field for thescores
record component.Methods in net.minecraft.world.level.storage.loot.predicates that return IntRangeModifier and TypeMethodDescriptionValueCheckCondition.range()
Returns the value of therange
record component.TimeCheck.value()
Returns the value of thevalue
record component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type IntRangeModifier and TypeMethodDescriptionEntityHasScoreCondition.scores()
Returns the value of thescores
record component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type IntRangeModifier and TypeMethodDescriptionprotected boolean
EntityHasScoreCondition.hasScore
(LootContext p_165491_, Entity p_165492_, Scoreboard p_165493_, String p_165494_, IntRange p_165495_) static LootItemCondition.Builder
ValueCheckCondition.hasValue
(NumberProvider p_165529_, IntRange p_165530_) static TimeCheck.Builder
Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type IntRangeModifierConstructorDescriptionCreates an instance of aTimeCheck
record class.ValueCheckCondition
(NumberProvider provider, IntRange range) Creates an instance of aValueCheckCondition
record class.Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type IntRangeModifierConstructorDescriptionEntityHasScoreCondition
(Map<String, IntRange> scores, LootContext.EntityTarget entityTarget) Creates an instance of aEntityHasScoreCondition
record class.