net.minecraft.util.random

public record WeightedEntry$Wrapper<T>

implements WeightedEntry

brt$b
net.minecraft.util.random.WeightedEntry$Wrapper
net.minecraft.class_6008$class_6010
net.minecraft.util.collection.Weighted$Present
net.minecraft.util.random.WeightedEntry$b

Field summary

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

Constructor summary

ModifierConstructor
public (T data, Weight weight)

Method summary

Modifier and TypeMethod
public Weight
a()
getWeight()
method_34979()
getWeight()
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)
public T
b()
data()
comp_2542()
data()
public Weight
c()
weight()
comp_2543()
weight()