net.minecraft.world.entity.ai.behavior

public class ShufflingList<U>

implements Iterable<U>

bxq
net.minecraft.world.entity.ai.behavior.ShufflingList
net.minecraft.class_6032
net.minecraft.unmapped.C_zcaovjhs
net.minecraft.util.collection.WeightedList
net.minecraft.util.collection.WeightedList
net.minecraft.src.C_141088_
net.minecraft.world.entity.ai.behavior.ShufflingList

Field summary

Modifier and TypeField
protected final List<ShufflingList$WeightedEntry<U>>
a
entries
field_30169
f_nkovmckk
entries
entries
f_147917_
private final RandomSource
b
random
field_30170
f_foiaoslh
random
random
f_147918_

Constructor summary

ModifierConstructor
public ()
private (List<ShufflingList$WeightedEntry<U>> list)

Method summary

Modifier and TypeMethod
public static <U> com.mojang.serialization.Codec<ShufflingList<U>>
a(com.mojang.serialization.Codec<U> arg0)
codec(com.mojang.serialization.Codec<U> arg0)
method_35091(com.mojang.serialization.Codec<U> arg0)
m_qkixgtkk(com.mojang.serialization.Codec<U> arg0)
createCodec(com.mojang.serialization.Codec<U> codec)
createCodec(com.mojang.serialization.Codec<U> codec)
m_147927_(com.mojang.serialization.Codec<U> p_147928_)
public ShufflingList<U>
a(U arg0, int arg1)
add(U arg0, int arg1)
method_35093(U arg0, int arg1)
m_tkhxhnwf(U arg0, int arg1)
add(U data, int weight)
add(U data, int weight)
m_147929_(U p_147931_, int arg1)
public ShufflingList<U>
a()
shuffle()
method_35088()
m_hxwgwpcn()
shuffle()
shuffle()
m_147922_()
public Stream<U>
b()
stream()
method_35094()
m_ociexkmf()
stream()
stream()
m_147932_()
public Iterator<U>
iterator()
iterator()
iterator()