net.minecraft.util.valueproviders

public class ClampedNormalInt

extends IntProvider

bpr
net.minecraft.util.valueproviders.ClampedNormalInt
net.minecraft.class_6728
net.minecraft.util.math.intprovider.ClampedNormalIntProvider
net.minecraft.src.C_182842_
net.minecraft.util.valueproviders.ClampedNormalInt

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ClampedNormalInt>
a
CODEC
field_35352
CODEC
f_185867_
private final float
b
mean
field_35353
mean
f_185868_
private final float
f
deviation
field_35354
deviation
f_185869_
private final int
g
minInclusive
field_35355
min
f_315784_
private final int
h
maxInclusive
field_35356
max
f_316795_

Constructor summary

ModifierConstructor
private (float mean, float deviation, int min, int max)

Method summary

Modifier and TypeMethod
public static ClampedNormalInt
a(float arg0, float arg1, int arg2, int arg3)
of(float arg0, float arg1, int arg2, int arg3)
method_39156(float arg0, float arg1, int arg2, int arg3)
of(float mean, float deviation, int min, int max)
m_185879_(float p_185880_, float p_185881_, int p_185882_, int p_185883_)
public int
a(ayw arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random arg0)
m_214085_(C_212974_ arg0)
public static int
a(ayw arg0, float arg1, float arg2, float arg3, float arg4)
sample(RandomSource arg0, float arg1, float arg2, float arg3, float arg4)
method_39159(class_5819 arg0, float arg1, float arg2, float arg3, float arg4)
next(Random random, float mean, float deviation, float min, float max)
m_216845_(C_212974_ p_216846_, float p_216847_, float p_216848_, float p_216849_, float p_216850_)
public int
a()
getMinValue()
method_35009()
getMin()
m_142739_()
public int
b()
getMaxValue()
method_35011()
getMax()
m_142737_()
public IntProviderType<?>
c()
getType()
method_35012()
getType()
m_141948_()