net.minecraft.world.entity.ai.behavior

public class ShufflingList$WeightedEntry<T>

cai$a
net.minecraft.world.entity.ai.behavior.ShufflingList$WeightedEntry
net.minecraft.class_6032$class_6033
net.minecraft.util.collection.WeightedList$Entry
net.minecraft.world.entity.ai.behavior.ShufflingList$a

Field summary

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

Constructor summary

ModifierConstructor
(T data, int weight)

Method summary

Modifier and TypeMethod
private double
c()
getRandWeight()
method_35102()
getShuffledOrder()
void
a(float arg0)
setRandom(float arg0)
method_35096(float arg0)
setShuffledOrder(float random)
public T
a()
getData()
method_35095()
getElement()
public int
b()
getWeight()
method_35100()
getWeight()
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)