net.minecraft.world.level.storage.loot

public class IntRange

evr
net.minecraft.world.level.storage.loot.IntRange
net.minecraft.class_42
net.minecraft.unmapped.C_rcavspxn
net.minecraft.loot.operator.BoundedIntUnaryOperator
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
f_eyhevmqg
OPERATOR_CODEC
BASE_CODEC
f_290959_
public static final com.mojang.serialization.Codec<IntRange>
a
CODEC
field_45790
f_orheepax
CODEC
CODEC
f_290878_
private final NumberProvider
c
min
field_921
f_rgwyrwjf
min
min
f_165001_
private final NumberProvider
d
max
field_920
f_shroovxu
max
max
f_165002_
private final IntRange$IntLimiter
e
limiter
field_27897
f_whzvxder
applier
applier
f_165003_
private final IntRange$IntChecker
f
predicate
field_27898
f_qehsjywa
tester
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<ContextKey<?>>
a()
getReferencedContextParams()
method_32386()
m_wetskmqh()
getRequiredParameters()
getRequiredParameters()
m_165008_()
public static IntRange
a(int arg0)
exact(int arg0)
method_32387(int arg0)
m_zxylymmk(int arg0)
create(int value)
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)
m_gnqxrmxh(int arg0, int arg1)
create(int min, int max)
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)
m_gusyvasn(int arg0)
createMin(int min)
createMin(int min)
m_165026_(int p_165027_)
public static IntRange
c(int arg0)
upperBound(int arg0)
method_277(int arg0)
m_xpjuhcpg(int arg0)
createMax(int max)
createMax(int max)
m_165040_(int p_165041_)
public int
a(evs arg0, int arg1)
clamp(LootContext arg0, int arg1)
method_32389(class_47 arg0, int arg1)
m_bnhpxthy(C_iakykpgh arg0, int arg1)
apply(LootContext context, int value)
apply(LootContext context, int value)
m_165014_(C_2811_ p_165016_, int arg1)
public boolean
b(evs arg0, int arg1)
test(LootContext arg0, int arg1)
method_32393(class_47 arg0, int arg1)
m_mubwvpsn(C_iakykpgh arg0, int arg1)
test(LootContext context, int value)
test(LootContext context, int value)
m_165028_(C_2811_ p_165030_, int arg1)
private OptionalInt
b()
unpackExact()
method_53263()
m_mubjqnmo()
getConstantValue()
asConstantInt()
m_293946_()