net.minecraft.world.level.storage.loot

public class IntRange

ewo
net.minecraft.world.level.storage.loot.IntRange
net.minecraft.class_42
net.minecraft.loot.operator.BoundedIntUnaryOperator
net.minecraft.world.level.storage.loot.IntRange

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<IntRange>
b
RECORD_CODEC
field_45791
OPERATOR_CODEC
public static final com.mojang.serialization.Codec<IntRange>
a
CODEC
field_45790
CODEC
private final NumberProvider
c
min
field_921
min
private final NumberProvider
d
max
field_920
max
private final IntRange$IntLimiter
e
limiter
field_27897
applier
private final IntRange$IntChecker
f
predicate
field_27898
tester

Constructor summary

ModifierConstructor
private (Optional<NumberProvider> min, Optional<NumberProvider> max)
private (NumberProvider min, NumberProvider max)

Method summary

Modifier and TypeMethod
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_32386()
getRequiredParameters()
public static IntRange
a(int arg0)
exact(int arg0)
method_32387(int arg0)
create(int value)
public static IntRange
a(int arg0, int arg1)
range(int arg0, int arg1)
method_282(int arg0, int arg1)
create(int min, int max)
public static IntRange
b(int arg0)
lowerBound(int arg0)
method_280(int arg0)
createMin(int min)
public static IntRange
c(int arg0)
upperBound(int arg0)
method_277(int arg0)
createMax(int max)
public int
a(ewp arg0, int arg1)
clamp(LootContext arg0, int arg1)
method_32389(class_47 arg0, int arg1)
apply(LootContext context, int value)
public boolean
b(ewp arg0, int arg1)
test(LootContext arg0, int arg1)
method_32393(class_47 arg0, int arg1)
test(LootContext context, int value)
private OptionalInt
b()
unpackExact()
method_53263()
getConstantValue()