net.minecraft.world.entity.ai.behavior

public class ShufflingList<U>

baz
net.minecraft.world.entity.ai.behavior.ShufflingList
net.minecraft.class_6032
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
entries
f_147917_
private final Random
b
random
field_30170
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)
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)
add(U data, int weight)
m_147929_(U p_147931_, int arg1)
public ShufflingList<U>
a()
shuffle()
method_35088()
shuffle()
m_147922_()
public Stream<U>
b()
stream()
method_35094()
stream()
m_147932_()