net.minecraft.world.level.storage.loot

public class IntRange

dvp
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
final NumberProvider
a
min
field_921
min
f_165001_
final NumberProvider
b
max
field_920
max
f_165002_
private final IntRange$IntLimiter
c
limiter
field_27897
applier
f_165003_
private final IntRange$IntChecker
d
predicate
field_27898
tester
f_165004_

Constructor summary

ModifierConstructor
(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(dvr 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(dvr 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)