net.minecraft.util.valueproviders

public class ClampedInt

extends IntProvider

bpt
net.minecraft.util.valueproviders.ClampedInt
net.minecraft.class_6334
net.minecraft.unmapped.C_gcyevdlb
net.minecraft.util.math.intprovider.ClampedIntProvider
net.minecraft.util.math.int_provider.ClampedIntProvider
net.minecraft.src.C_141046_
net.minecraft.util.valueproviders.BiasedToBottomInt

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static ClampedInt
a(bqa 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)
create(IntProvider source, int min, int max)
m_146395_(C_141052_ p_146396_, int p_146397_, int p_146398_)
public int
a(azh arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
m_ljiiqvld(C_rlomrsco arg0)
get(Random arg0)
get(RandomGenerator arg0)
m_214085_(C_212974_ arg0)
public int
a()
getMinValue()
method_35009()
m_lecatuwk()
getMin()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
m_jaypvrlp()
getMax()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
m_yxhouvzj()
getType()
getType()
m_141948_()