Uses of Class
net.minecraft.util.WeightedList
-
Packages that use WeightedList Package Description net.minecraft.entity.ai.brain.task net.minecraft.util net.minecraft.world.gen.blockstateprovider -
-
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>>
MultiTask. behaviors
Fields in net.minecraft.entity.ai.brain.task with type parameters of type WeightedList Modifier and Type Field Description private java.util.function.Consumer<WeightedList<?>>
MultiTask.Ordering. consumer
Methods in net.minecraft.entity.ai.brain.task with parameters of type WeightedList Modifier and Type Method Description void
MultiTask.Ordering. apply(WeightedList<?> p_220628_1_)
abstract <E extends LivingEntity>
voidMultiTask.RunType. apply(WeightedList<Task<? super E>> p_220630_1_, ServerWorld p_220630_2_, E p_220630_3_, long p_220630_4_)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type WeightedList Constructor Description Ordering(java.util.function.Consumer<WeightedList<?>> p_i50849_3_)
-
Uses of WeightedList in net.minecraft.util
Methods in net.minecraft.util that return WeightedList Modifier and Type Method Description WeightedList<U>
WeightedList. add(U p_226313_1_, int p_226313_2_)
WeightedList<U>
WeightedList. shuffle()
WeightedList<U>
WeightedList. shuffle(java.util.Random p_226314_1_)
Methods in net.minecraft.util that return types with arguments of type WeightedList Modifier and Type Method Description static <U> com.mojang.serialization.Codec<WeightedList<U>>
WeightedList. codec(com.mojang.serialization.Codec<U> p_234002_0_)
-
Uses of WeightedList in net.minecraft.world.gen.blockstateprovider
Fields in net.minecraft.world.gen.blockstateprovider declared as WeightedList Modifier and Type Field Description private WeightedList<BlockState>
WeightedBlockStateProvider. weightedList
Methods in net.minecraft.world.gen.blockstateprovider with parameters of type WeightedList Modifier and Type Method Description private static com.mojang.serialization.DataResult<WeightedBlockStateProvider>
WeightedBlockStateProvider. create(WeightedList<BlockState> p_236812_0_)
Constructors in net.minecraft.world.gen.blockstateprovider with parameters of type WeightedList Constructor Description WeightedBlockStateProvider(WeightedList<BlockState> p_i225862_1_)
-