Class RandomTask<E extends LivingEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.CompositeTask<E>
net.minecraft.entity.ai.brain.task.RandomTask<E>
All Implemented Interfaces:
Task<E>

public class RandomTask<E extends LivingEntity> extends CompositeTask<E>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/RandomTask
intermediary net/minecraft/class_4118
official bxg
  • Constructor Details

    • RandomTask

      public RandomTask(List<com.mojang.datafixers.util.Pair<? extends Task<? super E>,Integer>> tasks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/RandomTask;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4118;<init>(Ljava/util/List;)V
      official <init> Lbxg;<init>(Ljava/util/List;)V
    • RandomTask

      public RandomTask(Map<MemoryModuleType<?>,MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>,Integer>> tasks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/RandomTask;<init>(Ljava/util/Map;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4118;<init>(Ljava/util/Map;Ljava/util/List;)V
      official <init> Lbxg;<init>(Ljava/util/Map;Ljava/util/List;)V