net.minecraft.util.valueproviders

public class ClampedNormalInt

extends IntProvider

bsj
net.minecraft.util.valueproviders.ClampedNormalInt
net.minecraft.class_6728
net.minecraft.util.math.intprovider.ClampedNormalIntProvider
net.minecraft.util.valueproviders.ClampedNormalInt

Field summary

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

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)
public int
a(bam arg0)
sample(RandomSource arg0)
method_35008(class_5819 arg0)
get(Random arg0)
public static int
a(bam 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)
public int
a()
getMinValue()
method_35009()
getMin()
public int
b()
getMaxValue()
method_35011()
getMax()
public IntProviderType<?>
c()
getType()
method_35012()
getType()