net.minecraft.util.random

public class Weight

bcj
net.minecraft.util.random.Weight
net.minecraft.class_6007
net.minecraft.util.collection.Weight
net.minecraft.src.C_141036_
net.minecraft.util.random.Weight

Field summary

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

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)
m_146282_(int p_146283_)
public int
a()
asInt()
method_34976()
getValue()
m_146281_()
private static void
b(int arg0)
validateWeight(int arg0)
method_34978(int arg0)
validate(int weight)
m_146284_(int p_146285_)