net.minecraft.util

public class UniformInt

aft
net.minecraft.util.UniformInt
net.minecraft.class_5428
net.minecraft.world.gen.UniformIntDistribution
net.minecraft.world.gen.feature.FeatureSpread
net.minecraft.server.v1_16_R2.IntSpread

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<UniformInt>
a
CODEC
field_25809
CODEC
field_242249_a
private final int
b
baseValue
field_25810
base
field_242250_b
private final int
c
spread
field_25811
spread
field_242251_c

Constructor summary

ModifierConstructor
private (int base, int spread)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<UniformInt>
a(int arg0, int arg1, int arg2)
codec(int arg0, int arg1, int arg2)
method_30316(int arg0, int arg1, int arg2)
createValidatedCodec(int minBase, int maxBase, int maxSpread)
func_242254_a(int arg0, int arg1, int arg2)
public static UniformInt
a(int arg0)
fixed(int arg0)
method_30314(int arg0)
of(int value)
func_242252_a(int arg0)
public static UniformInt
a(int arg0, int arg1)
of(int arg0, int arg1)
method_30315(int arg0, int arg1)
of(int base, int spread)
func_242253_a(int arg0, int arg1)
public int
a(Random arg0)
sample(Random arg0)
method_30321(Random arg0)
getValue(Random random)
func_242259_a(Random arg0)