net.minecraft.util.random

public record WeightedEntry$Wrapper<T>

implements WeightedEntry

bpd$b
net.minecraft.util.random.WeightedEntry$Wrapper
net.minecraft.class_6008$class_6010
net.minecraft.util.collection.Weighted$Present
net.minecraft.src.C_141037_$C_141039_
net.minecraft.util.random.WeightedEntry$b

Field summary

Modifier and TypeField
private final T
a
data
comp_2542
data
f_146299_
private final Weight
b
weight
comp_2543
weight
f_146300_

Constructor summary

ModifierConstructor
public (T data, Weight weight)

Method summary

Modifier and TypeMethod
public Weight
a()
getWeight()
method_34979()
getWeight()
m_142631_()
public static <E> com.mojang.serialization.Codec<WeightedEntry$Wrapper<E>>
a(com.mojang.serialization.Codec<E> arg0)
codec(com.mojang.serialization.Codec<E> arg0)
method_34981(com.mojang.serialization.Codec<E> arg0)
createCodec(com.mojang.serialization.Codec<E> dataCodec)
m_146305_(com.mojang.serialization.Codec<E> p_146306_)
public T
b()
data()
comp_2542()
data()
f_146299_()
public Weight
c()
weight()
comp_2543()
weight()
f_146300_()