net.minecraft.world.entity.ai.behavior

public class WeightedList$WeightedEntry<T>

aum$a
net.minecraft.world.entity.ai.behavior.WeightedList$WeightedEntry
net.minecraft.class_4131$class_4132
net.minecraft.util.collection.WeightedList$Entry
net.minecraft.util.WeightedList$Entry
net.minecraft.server.v1_16_R2.WeightedList$a

Field summary

Modifier and TypeField
private final T
a
data
field_18400
item
field_220651_b
private final int
b
weight
field_18401
weight
field_220652_c
private double
c
randWeight
field_18402
shuffledOrder
field_220653_d

Constructor summary

ModifierConstructor
private (T arg0, int arg1)

Method summary

Modifier and TypeMethod
private double
c()
getRandWeight()
method_19033()
getShuffledOrder()
func_220649_a()
private void
a(float arg0)
setRandom(float arg0)
method_19034(float arg0)
setShuffledOrder(float random)
func_220648_a(float arg0)
public T
a()
getData()
method_19035()
getElement()
func_220647_b()
public static <E> com.mojang.serialization.Codec<WeightedList$WeightedEntry<E>>
a(com.mojang.serialization.Codec<E> arg0)
codec(com.mojang.serialization.Codec<E> arg0)
method_28341(com.mojang.serialization.Codec<E> arg0)
method_28341(com.mojang.serialization.Codec<E> arg0)
func_234008_a_(com.mojang.serialization.Codec<E> arg0)