Enum 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>, java.lang.constant.Constable
Enclosing class:
Task<E extends LivingEntity>

public static enum Task.Status
extends Enum<Task.Status>
Mappings:
Namespace Name
official ass$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 Lass$a;a:Lass$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 Lass$a;b:Lass$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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Task.Status valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null