类的使用
net.minecraft.util.collection.WeightedList
-
使用WeightedList的程序包 程序包 说明 net.minecraft.entity.ai.brain.task net.minecraft.util.collection -
-
net.minecraft.entity.ai.brain.task中WeightedList的使用
声明为WeightedList的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private WeightedList<Task<? super E>>CompositeTask. tasks类型参数类型为WeightedList的net.minecraft.entity.ai.brain.task中的字段 修饰符和类型 字段 说明 private Consumer<WeightedList<?>>CompositeTask.Order. listModifier参数类型为WeightedList的net.minecraft.entity.ai.brain.task中的方法 修饰符和类型 方法 说明 voidCompositeTask.Order. apply(WeightedList<?> list)类型变量类型为WeightedList的net.minecraft.entity.ai.brain.task中的构造器参数 构造器 说明 Order(Consumer<WeightedList<?>> listModifier) -
net.minecraft.util.collection中WeightedList的使用
返回WeightedList的net.minecraft.util.collection中的方法 修饰符和类型 方法 说明 WeightedList<U>WeightedList. add(U data, int weight)WeightedList<U>WeightedList. shuffle()返回变量类型为WeightedList的类型的net.minecraft.util.collection中的方法 修饰符和类型 方法 说明 static <U> com.mojang.serialization.Codec<WeightedList<U>>WeightedList. createCodec(com.mojang.serialization.Codec<U> codec)
-