Enum Class CompositeTask.Order

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

public static enum CompositeTask.Order extends Enum<CompositeTask.Order>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/CompositeTask$Order
intermediary net/minecraft/class_4103$class_4104
official bvx$a
  • Enum Constant Details

    • ORDERED

      public static final CompositeTask.Order ORDERED
      Mappings:
      Namespace Name Mixin selector
      named ORDERED Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;ORDERED:Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;
      intermediary field_18348 Lnet/minecraft/class_4103$class_4104;field_18348:Lnet/minecraft/class_4103$class_4104;
      official a Lbvx$a;a:Lbvx$a;
    • SHUFFLED

      public static final CompositeTask.Order SHUFFLED
      Mappings:
      Namespace Name Mixin selector
      named SHUFFLED Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;SHUFFLED:Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;
      intermediary field_18349 Lnet/minecraft/class_4103$class_4104;field_18349:Lnet/minecraft/class_4103$class_4104;
      official b Lbvx$a;b:Lbvx$a;
  • Field Details

    • listModifier

      private final Consumer<WeightedList<?>> listModifier
      Mappings:
      Namespace Name Mixin selector
      named listModifier Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;listModifier:Ljava/util/function/Consumer;
      intermediary field_18350 Lnet/minecraft/class_4103$class_4104;field_18350:Ljava/util/function/Consumer;
      official c Lbvx$a;c:Ljava/util/function/Consumer;
  • Constructor Details

    • Order

      private Order(Consumer<WeightedList<?>> listModifier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_4103$class_4104;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)V
      official <init> Lbvx$a;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)V
  • Method Details

    • values

      public static CompositeTask.Order[] 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.Order 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
    • apply

      public void apply(WeightedList<?> list)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;apply(Lnet/minecraft/util/collection/WeightedList;)V
      intermediary method_18939 Lnet/minecraft/class_4103$class_4104;method_18939(Lnet/minecraft/class_6032;)V
      official a Lbvx$a;a(Lbxs;)V