net.minecraft.world.entity.ai.behavior

public class WeightedList<U>

aod
net.minecraft.world.entity.ai.behavior.WeightedList
net.minecraft.class_4131
net.minecraft.unmapped.C_bvkdjias
net.minecraft.util.WeightedList
net.minecraft.util.WeightedList
net.minecraft.server.v1_15_R1.WeightedList

Field summary

Modifier and TypeField
protected final List<WeightedList<U>.WeightedEntry<? extends U>>
a
entries
field_18397
f_hgwqifuf
entries
field_220658_a
private final Random
b
random
field_18398
f_evggesuk
random
field_220659_b

Constructor summary

ModifierConstructor
public (Random arg0)
public ()
public <T>(com.mojang.datafixers.Dynamic<T> arg0, Function<com.mojang.datafixers.Dynamic<T>, U> arg1)

Method summary

Modifier and TypeMethod
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0, Function<U, com.mojang.datafixers.Dynamic<T>> arg1)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0, Function<U, com.mojang.datafixers.Dynamic<T>> arg1)
method_23330(com.mojang.datafixers.types.DynamicOps<T> arg0, Function<U, com.mojang.datafixers.Dynamic<T>> arg1)
m_icnaozjm(com.mojang.datafixers.types.DynamicOps<T> arg0, Function<U, com.mojang.datafixers.Dynamic<T>> arg1)
serialize(com.mojang.datafixers.types.DynamicOps<T> ops, Function<U, com.mojang.datafixers.Dynamic<T>> entrySerializer)
func_226310_a_(com.mojang.datafixers.types.DynamicOps<T> arg0, Function<U, com.mojang.datafixers.Dynamic<T>> arg1)
public WeightedList<U>
a(U arg0, int arg1)
add(U arg0, int arg1)
method_19031(U arg0, int arg1)
m_jlywhwqn(U arg0, int arg1)
add(U item, int weight)
func_226313_a_(U arg0, int arg1)
public WeightedList<U>
a()
shuffle()
method_19029()
m_yuniliby()
shuffle()
func_226309_a_()
public WeightedList<U>
a(Random arg0)
shuffle(Random arg0)
method_23333(Random arg0)
m_kvlmxlxw(Random arg0)
shuffle(Random random)
func_226314_a_(Random arg0)
public Stream<? extends U>
b()
stream()
method_19032()
m_clhxtfmu()
stream()
func_220655_b()
public Stream<WeightedList<U>.WeightedEntry<? extends U>>
c()
streamEntries()
method_23338()
m_hafhmdhw()
streamEntries()
func_226319_c_()
public U
b(Random arg0)
getOne(Random arg0)
method_23337(Random arg0)
m_vkdfmjjf(Random arg0)
pickRandom(Random random)
func_226318_b_(Random arg0)