Enum Class CrossbowAttackTask.CrossbowState

java.lang.Object
java.lang.Enum<CrossbowAttackTask.CrossbowState>
net.minecraft.entity.ai.brain.task.CrossbowAttackTask.CrossbowState
All Implemented Interfaces:
Serializable, Comparable<CrossbowAttackTask.CrossbowState>, Constable
Enclosing class:
CrossbowAttackTask<E extends MobEntity & CrossbowUser,T extends LivingEntity>

private static enum CrossbowAttackTask.CrossbowState extends Enum<CrossbowAttackTask.CrossbowState>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState
intermediary net/minecraft/class_4810$class_4811
official bvr$a
  • Enum Constant Details

    • UNCHARGED

      public static final CrossbowAttackTask.CrossbowState UNCHARGED
      Mappings:
      Namespace Name Mixin selector
      named UNCHARGED Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;UNCHARGED:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
      intermediary field_22295 Lnet/minecraft/class_4810$class_4811;field_22295:Lnet/minecraft/class_4810$class_4811;
      official a Lbvr$a;a:Lbvr$a;
    • CHARGING

      public static final CrossbowAttackTask.CrossbowState CHARGING
      Mappings:
      Namespace Name Mixin selector
      named CHARGING Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;CHARGING:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
      intermediary field_22296 Lnet/minecraft/class_4810$class_4811;field_22296:Lnet/minecraft/class_4810$class_4811;
      official b Lbvr$a;b:Lbvr$a;
    • CHARGED

      public static final CrossbowAttackTask.CrossbowState CHARGED
      Mappings:
      Namespace Name Mixin selector
      named CHARGED Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;CHARGED:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
      intermediary field_22297 Lnet/minecraft/class_4810$class_4811;field_22297:Lnet/minecraft/class_4810$class_4811;
      official c Lbvr$a;c:Lbvr$a;
    • READY_TO_ATTACK

      public static final CrossbowAttackTask.CrossbowState READY_TO_ATTACK
      Mappings:
      Namespace Name Mixin selector
      named READY_TO_ATTACK Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;READY_TO_ATTACK:Lnet/minecraft/entity/ai/brain/task/CrossbowAttackTask$CrossbowState;
      intermediary field_22298 Lnet/minecraft/class_4810$class_4811;field_22298:Lnet/minecraft/class_4810$class_4811;
      official d Lbvr$a;d:Lbvr$a;
  • Constructor Details

    • CrossbowState

      private CrossbowState()
  • Method Details

    • values

      public static CrossbowAttackTask.CrossbowState[] 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 CrossbowAttackTask.CrossbowState 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