Uses of Class
net.minecraft.world.level.storage.loot.IntRange
Package
Description
-
Uses of IntRange in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<IntRange>
IntRange.CODEC
private static final com.mojang.serialization.Codec<IntRange>
IntRange.RECORD_CODEC
Modifier 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
Modifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?>
LimitCount.limitCount
(IntRange p_165216_) ModifierConstructorDescriptionprivate
LimitCount
(List<LootItemCondition> p_299132_, IntRange p_165214_) -
Uses of IntRange in net.minecraft.world.level.storage.loot.predicates
Modifier 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.Modifier and TypeFieldDescriptionEntityHasScoreCondition.Builder.scores
EntityHasScoreCondition.scores
The field for thescores
record component.Modifier and TypeMethodDescriptionValueCheckCondition.range()
Returns the value of therange
record component.TimeCheck.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionEntityHasScoreCondition.scores()
Returns the value of thescores
record component.Modifier 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
ModifierConstructorDescriptionCreates an instance of aTimeCheck
record class.ValueCheckCondition
(NumberProvider provider, IntRange range) Creates an instance of aValueCheckCondition
record class.ModifierConstructorDescriptionEntityHasScoreCondition
(Map<String, IntRange> scores, LootContext.EntityTarget entityTarget) Creates an instance of aEntityHasScoreCondition
record class.