net.minecraft.util.random

public class SimpleWeightedRandomList<E>

extends WeightedRandomList<WeightedEntry$Wrapper<E>>

aqp
net.minecraft.util.random.SimpleWeightedRandomList
net.minecraft.class_6005
net.minecraft.unmapped.C_owfsqzhr
net.minecraft.util.collection.DataPool
net.minecraft.src.C_141034_
net.minecraft.util.random.SimpleWeightedRandomList

Constructor summary

ModifierConstructor
(List<? extends WeightedEntry$Wrapper<E>> arg0)

Method summary

Modifier and TypeMethod
public static <E> com.mojang.serialization.Codec<SimpleWeightedRandomList<E>>
a(com.mojang.serialization.Codec<E> arg0)
wrappedCodec(com.mojang.serialization.Codec<E> arg0)
method_34972(com.mojang.serialization.Codec<E> arg0)
m_clieysaa(com.mojang.serialization.Codec<E> arg0)
createCodec(com.mojang.serialization.Codec<E> dataCodec)
m_146264_(com.mojang.serialization.Codec<E> p_146265_)
public static <E> SimpleWeightedRandomList$Builder<E>
a()
builder()
method_34971()
m_apvcwapp()
builder()
m_146263_()
public Optional<E>
a(Random arg0)
getRandomValue(Random arg0)
method_34973(Random arg0)
m_fxqdoulv(Random arg0)
getDataOrEmpty(Random random)
m_146266_(Random arg0)