Enum Class Task.Status

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

public static enum Task.Status extends Enum<Task.Status>
Mappings:
Namespace Name
official bcr$a
intermediary net/minecraft/class_4097$class_4098
named net/minecraft/entity/ai/brain/task/Task$Status
  • Enum Constant Details

    • STOPPED

      public static final Task.Status STOPPED
      Mappings:
      Namespace Name Mixin selector
      official a Lbcr$a;a:Lbcr$a;
      intermediary field_18337 Lnet/minecraft/class_4097$class_4098;field_18337:Lnet/minecraft/class_4097$class_4098;
      named STOPPED Lnet/minecraft/entity/ai/brain/task/Task$Status;STOPPED:Lnet/minecraft/entity/ai/brain/task/Task$Status;
    • RUNNING

      public static final Task.Status RUNNING
      Mappings:
      Namespace Name Mixin selector
      official b Lbcr$a;b:Lbcr$a;
      intermediary field_18338 Lnet/minecraft/class_4097$class_4098;field_18338:Lnet/minecraft/class_4097$class_4098;
      named RUNNING Lnet/minecraft/entity/ai/brain/task/Task$Status;RUNNING:Lnet/minecraft/entity/ai/brain/task/Task$Status;
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static Task.Status[] 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 Task.Status 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