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
official bif$a
intermediary net/minecraft/class_4103$class_4104
named net/minecraft/entity/ai/brain/task/CompositeTask$Order
  • Enum Constant Details

    • ORDERED

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

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

    • listModifier

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

    • Order

      private Order(Consumer<WeightedList<?>> listModifier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbif$a;<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
      named <init> Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;<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
      official a Lbif$a;a(Lbjz;)V
      intermediary method_18939 Lnet/minecraft/class_4103$class_4104;method_18939(Lnet/minecraft/class_6032;)V
      named apply Lnet/minecraft/entity/ai/brain/task/CompositeTask$Order;apply(Lnet/minecraft/util/collection/WeightedList;)V