Class RandomTask<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.CompositeTask<E>
net.minecraft.entity.ai.brain.task.RandomTask<E>
- Mappings:
Namespace Name official bbe
intermediary net/minecraft/class_4118
named net/minecraft/entity/ai/brain/task/RandomTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.CompositeTask
CompositeTask.Order, CompositeTask.RunMode
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
ConstructorDescriptionRandomTask
(List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) RandomTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.brain.task.CompositeTask
finishRunning, isTimeLimitExceeded, keepRunning, run, shouldKeepRunning, toString
-
Constructor Details
-
RandomTask
- Mappings:
Namespace Name Mixin selector official <init>
Lbbe;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_4118;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/RandomTask;<init>(Ljava/util/List;)V
-
RandomTask
public RandomTask(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) - Mappings:
Namespace Name Mixin selector official <init>
Lbbe;<init>(Ljava/util/Map;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_4118;<init>(Ljava/util/Map;Ljava/util/List;)V
named <init>
Lnet/minecraft/entity/ai/brain/task/RandomTask;<init>(Ljava/util/Map;Ljava/util/List;)V
-