net.minecraft.world.level.storage.loot

public class IntRange

erq
net.minecraft.world.level.storage.loot.IntRange
net.minecraft.class_42
net.minecraft.loot.operator.BoundedIntUnaryOperator
net.minecraft.src.C_141456_
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
f_290959_
public static final com.mojang.serialization.Codec<IntRange>
a
CODEC
field_45790
CODEC
f_290878_
private final NumberProvider
c
min
field_921
min
f_165001_
private final NumberProvider
d
max
field_920
max
f_165002_
private final IntRange$IntLimiter
e
limiter
field_27897
applier
f_165003_
private final IntRange$IntChecker
f
predicate
field_27898
tester
f_165004_

Constructor summary

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

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_32386()
getRequiredParameters()
m_165008_()
public static IntRange
a(int arg0)
exact(int arg0)
method_32387(int arg0)
create(int value)
m_165009_(int p_165010_)
public static IntRange
a(int arg0, int arg1)
range(int arg0, int arg1)
method_282(int arg0, int arg1)
create(int min, int max)
m_165011_(int p_165012_, int p_165013_)
public static IntRange
b(int arg0)
lowerBound(int arg0)
method_280(int arg0)
createMin(int min)
m_165026_(int p_165027_)
public static IntRange
c(int arg0)
upperBound(int arg0)
method_277(int arg0)
createMax(int max)
m_165040_(int p_165041_)
public int
a(err arg0, int arg1)
clamp(LootContext arg0, int arg1)
method_32389(class_47 arg0, int arg1)
apply(LootContext context, int value)
m_165014_(C_2811_ p_165016_, int arg1)
public boolean
b(err arg0, int arg1)
test(LootContext arg0, int arg1)
method_32393(class_47 arg0, int arg1)
test(LootContext context, int value)
m_165028_(C_2811_ p_165030_, int arg1)
private OptionalInt
b()
unpackExact()
method_53263()
getConstantValue()
m_293946_()