Class IntRange
java.lang.Object
net.minecraft.world.level.storage.loot.IntRange
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntRange.IntLimiter(package private) final NumberProvider(package private) final NumberProviderprivate final IntRange.IntChecker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintclamp(LootContext p_165015_, int p_165016_) static IntRangeexact(int p_165010_) Set<LootContextParam<?>>static IntRangelowerBound(int p_165027_) static IntRangerange(int p_165012_, int p_165013_) booleantest(LootContext p_165029_, int p_165030_) static IntRangeupperBound(int p_165041_)
-
Field Details
-
min
-
max
-
limiter
-
predicate
-
-
Constructor Details
-
IntRange
IntRange(@Nullable NumberProvider p_165006_, @Nullable NumberProvider p_165007_)
-
-
Method Details
-
getReferencedContextParams
-
exact
-
range
-
lowerBound
-
upperBound
-
clamp
-
test
-