类 IntRange
java.lang.Object
net.minecraft.world.level.storage.loot.IntRange
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static interface
(专用程序包) static interface
static class
-
字段概要
字段修饰符和类型字段说明private final IntRange.IntLimiter
(专用程序包) final NumberProvider
(专用程序包) final NumberProvider
private final IntRange.IntChecker
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
clamp
(LootContext pLootContext, int pValue) static IntRange
exact
(int pExactValue) Set<LootContextParam<?>>
static IntRange
lowerBound
(int pMin) static IntRange
range
(int pMin, int pMax) boolean
test
(LootContext pLootContext, int pValue) static IntRange
upperBound
(int pMax)
-
字段详细资料
-
min
-
max
-
limiter
-
predicate
-
-
构造器详细资料
-
IntRange
IntRange(@Nullable NumberProvider pMin, @Nullable NumberProvider pMax)
-
-
方法详细资料
-
getReferencedContextParams
-
exact
-
range
-
lowerBound
-
upperBound
-
clamp
-
test
-