net.minecraft.world.entity.ai.behavior

public class ShufflingList$WeightedEntry<T>

bic$a
net.minecraft.world.entity.ai.behavior.ShufflingList$WeightedEntry
net.minecraft.class_6032$class_6033
net.minecraft.util.collection.WeightedList$Entry
net.minecraft.src.C_141088_$C_141089_
net.minecraft.world.entity.ai.behavior.ShufflingList$a

Field summary

Modifier and TypeField
final T
a
data
field_30171
data
f_147934_
final int
b
weight
field_30172
weight
f_147935_
private double
c
randWeight
field_30173
shuffledOrder
f_147936_

Constructor summary

ModifierConstructor
(T data, int weight)

Method summary

Modifier and TypeMethod
private double
c()
getRandWeight()
method_35102()
getShuffledOrder()
m_147946_()
void
a(float arg0)
setRandom(float arg0)
method_35096(float arg0)
setShuffledOrder(float random)
m_147941_(float arg0)
public T
a()
getData()
method_35095()
getElement()
m_147940_()
public int
b()
getWeight()
method_35100()
getWeight()
m_147945_()
public static <E> com.mojang.serialization.Codec<ShufflingList$WeightedEntry<E>>
a(com.mojang.serialization.Codec<E> arg0)
codec(com.mojang.serialization.Codec<E> arg0)
method_35099(com.mojang.serialization.Codec<E> arg0)
createCodec(com.mojang.serialization.Codec<E> codec)
m_147943_(com.mojang.serialization.Codec<E> p_147944_)