Class RandomTask<E extends LivingEntity>


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

    • RandomTask

      public RandomTask(List<com.mojang.datafixers.util.Pair<Task<? super E>,Integer>> tasks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfm;<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> Lbfm;<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