net.minecraft.util.random

public class Weight

brs
net.minecraft.util.random.Weight
net.minecraft.class_6007
net.minecraft.util.collection.Weight
net.minecraft.util.random.Weight

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<Weight>
a
CODEC
field_29927
CODEC
private static final Weight
b
ONE
field_29928
DEFAULT
private static final org.slf4j.Logger
c
LOGGER
field_29929
LOGGER
private final int
d
value
field_29930
value

Constructor summary

ModifierConstructor
private (int weight)

Method summary

Modifier and TypeMethod
public static Weight
a(int arg0)
of(int arg0)
method_34977(int arg0)
of(int weight)
public int
a()
asInt()
method_34976()
getValue()
private static void
b(int arg0)
validateWeight(int arg0)
method_34978(int arg0)
validate(int weight)