Uses of Enum Class
net.minecraft.entity.ai.brain.task.CompositeTask.Order
-
Uses of CompositeTask.Order in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionstatic CompositeTask.Order
Returns the enum constant of this class with the specified name.static CompositeTask.Order[]
CompositeTask.Order.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
SingleTickTask<E>Tasks.weighted
(List<com.mojang.datafixers.util.Pair<? extends TaskRunnable<? super E>, Integer>> weightedTasks, CompositeTask.Order order, CompositeTask.RunMode runMode) Returns a task that runs task(s) fromweightedTasks
.ModifierConstructorDescriptionCompositeTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks)