net.minecraft.util.valueproviders

public class ClampedInt

extends IntProvider

aup
net.minecraft.util.valueproviders.ClampedInt
net.minecraft.class_6334
net.minecraft.unmapped.C_gcyevdlb
net.minecraft.util.math.intprovider.ClampedIntProvider
net.minecraft.src.C_141046_
net.minecraft.util.valueproviders.ClampedInt

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ClampedInt>
a
CODEC
field_33446
f_hrmrsozd
CODEC
f_146383_
private final IntProvider
b
source
field_33447
f_cpveowhx
source
f_146384_
private int
f
minInclusive
field_33448
f_tsutsalv
min
f_146385_
private int
g
maxInclusive
field_33449
f_mskxvmbw
max
f_146386_

Constructor summary

ModifierConstructor
public (IntProvider source, int min, int max)

Method summary

Modifier and TypeMethod
public static ClampedInt
a(auw arg0, int arg1, int arg2)
of(IntProvider arg0, int arg1, int arg2)
method_36255(class_6017 arg0, int arg1, int arg2)
m_kuxwvadw(C_macfejbg arg0, int arg1, int arg2)
create(IntProvider source, int min, int max)
m_146395_(C_141052_ p_146396_, int p_146397_, int p_146398_)
public int
a(Random arg0)
sample(Random arg0)
method_35008(Random arg0)
m_ljiiqvld(Random arg0)
get(Random arg0)
m_142270_(Random arg0)
public int
a()
getMinValue()
method_35009()
m_lecatuwk()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
m_jaypvrlp()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
m_yxhouvzj()
getType()
m_141948_()