Enum Class CompositeTask.RunMode

java.lang.Object
java.lang.Enum<CompositeTask.RunMode>
net.minecraft.entity.ai.brain.task.CompositeTask.RunMode
All Implemented Interfaces:
Serializable, Comparable<CompositeTask.RunMode>, Constable
Enclosing class:
CompositeTask<E extends LivingEntity>

public static enum CompositeTask.RunMode extends Enum<CompositeTask.RunMode>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/CompositeTask$RunMode
intermediary net/minecraft/class_4103$class_4216
official bvv$b
  • Enum Constant Details

    • RUN_ONE

      public static final CompositeTask.RunMode RUN_ONE
      Mappings:
      Namespace Name Mixin selector
      named RUN_ONE Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;RUN_ONE:Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;
      intermediary field_18855 Lnet/minecraft/class_4103$class_4216;field_18855:Lnet/minecraft/class_4103$class_4216;
      official a Lbvv$b;a:Lbvv$b;
    • TRY_ALL

      public static final CompositeTask.RunMode TRY_ALL
      Mappings:
      Namespace Name Mixin selector
      named TRY_ALL Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;TRY_ALL:Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;
      intermediary field_18856 Lnet/minecraft/class_4103$class_4216;field_18856:Lnet/minecraft/class_4103$class_4216;
      official b Lbvv$b;b:Lbvv$b;
  • Constructor Details

    • RunMode

      private RunMode()
  • Method Details

    • values

      public static CompositeTask.RunMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CompositeTask.RunMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • run

      public abstract <E extends LivingEntity> void run(Stream<Task<? super E>> tasks, ServerWorld world, E entity, long time)
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/CompositeTask$RunMode;run(Ljava/util/stream/Stream;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
      intermediary method_19559 Lnet/minecraft/class_4103$class_4216;method_19559(Ljava/util/stream/Stream;Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      official a Lbvv$b;a(Ljava/util/stream/Stream;Laqu;Lbtn;J)V