Uses of Class
net.minecraft.util.collection.WeightedList
| Package | Description |
|---|---|
| net.minecraft.entity.ai.brain.task | |
| net.minecraft.util.collection |
-
Uses of WeightedList in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as WeightedList Modifier and Type Field Description private WeightedList<Task<? super E>>CompositeTask. tasksFields in net.minecraft.entity.ai.brain.task with type parameters of type WeightedList Modifier and Type Field Description private Consumer<WeightedList<?>>CompositeTask.Order. listModifierMethods in net.minecraft.entity.ai.brain.task with parameters of type WeightedList Modifier and Type Method Description voidCompositeTask.Order. apply(WeightedList<?> list)Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type WeightedList Constructor Description Order(Consumer<WeightedList<?>> listModifier) -
Uses of WeightedList in net.minecraft.util.collection
Methods in net.minecraft.util.collection that return WeightedList Modifier and Type Method Description WeightedList<U>WeightedList. add(U data, int weight)WeightedList<U>WeightedList. shuffle()Methods in net.minecraft.util.collection that return types with arguments of type WeightedList Modifier and Type Method Description static <U> com.mojang.serialization.Codec<WeightedList<U>>WeightedList. createCodec(com.mojang.serialization.Codec<U> codec)