Enum Class ArmadilloEntity.State

java.lang.Object
java.lang.Enum<ArmadilloEntity.State>
net.minecraft.entity.passive.ArmadilloEntity.State
All Implemented Interfaces:
Serializable, Comparable<ArmadilloEntity.State>, Constable, StringIdentifiable
Enclosing class:
ArmadilloEntity

public static enum ArmadilloEntity.State extends Enum<ArmadilloEntity.State> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/ArmadilloEntity$State
intermediary net/minecraft/class_9069$class_9070
official cgn$a
  • Enum Constant Details

    • IDLE

      public static final ArmadilloEntity.State IDLE
      Mappings:
      Namespace Name Mixin selector
      named IDLE Lnet/minecraft/entity/passive/ArmadilloEntity$State;IDLE:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary field_47790 Lnet/minecraft/class_9069$class_9070;field_47790:Lnet/minecraft/class_9069$class_9070;
      official a Lcgn$a;a:Lcgn$a;
    • ROLLING

      public static final ArmadilloEntity.State ROLLING
      Mappings:
      Namespace Name Mixin selector
      named ROLLING Lnet/minecraft/entity/passive/ArmadilloEntity$State;ROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary field_47791 Lnet/minecraft/class_9069$class_9070;field_47791:Lnet/minecraft/class_9069$class_9070;
      official b Lcgn$a;b:Lcgn$a;
    • SCARED

      public static final ArmadilloEntity.State SCARED
      Mappings:
      Namespace Name Mixin selector
      named SCARED Lnet/minecraft/entity/passive/ArmadilloEntity$State;SCARED:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary field_47792 Lnet/minecraft/class_9069$class_9070;field_47792:Lnet/minecraft/class_9069$class_9070;
      official c Lcgn$a;c:Lcgn$a;
    • UNROLLING

      public static final ArmadilloEntity.State UNROLLING
      Mappings:
      Namespace Name Mixin selector
      named UNROLLING Lnet/minecraft/entity/passive/ArmadilloEntity$State;UNROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary field_49084 Lnet/minecraft/class_9069$class_9070;field_49084:Lnet/minecraft/class_9069$class_9070;
      official d Lcgn$a;d:Lcgn$a;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/ArmadilloEntity$State;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_47794 Lnet/minecraft/class_9069$class_9070;field_47794:Lnet/minecraft/class_3542$class_7292;
      official f Lcgn$a;f:Lazk$a;
    • INDEX_TO_VALUE

      private static final IntFunction<ArmadilloEntity.State> INDEX_TO_VALUE
      Mappings:
      Namespace Name Mixin selector
      named INDEX_TO_VALUE Lnet/minecraft/entity/passive/ArmadilloEntity$State;INDEX_TO_VALUE:Ljava/util/function/IntFunction;
      intermediary field_48336 Lnet/minecraft/class_9069$class_9070;field_48336:Ljava/util/function/IntFunction;
      official g Lcgn$a;g:Ljava/util/function/IntFunction;
    • PACKET_CODEC

      public static final PacketCodec<ByteBuf,ArmadilloEntity.State> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/entity/passive/ArmadilloEntity$State;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48335 Lnet/minecraft/class_9069$class_9070;field_48335:Lnet/minecraft/class_9139;
      official e Lcgn$a;e:Lyx;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/passive/ArmadilloEntity$State;name:Ljava/lang/String;
      intermediary field_47793 Lnet/minecraft/class_9069$class_9070;field_47793:Ljava/lang/String;
      official h Lcgn$a;h:Ljava/lang/String;
    • runRollUpTask

      private final boolean runRollUpTask
      Mappings:
      Namespace Name Mixin selector
      named runRollUpTask Lnet/minecraft/entity/passive/ArmadilloEntity$State;runRollUpTask:Z
      intermediary field_49085 Lnet/minecraft/class_9069$class_9070;field_49085:Z
      official i Lcgn$a;i:Z
    • lengthInTicks

      private final int lengthInTicks
      Mappings:
      Namespace Name Mixin selector
      named lengthInTicks Lnet/minecraft/entity/passive/ArmadilloEntity$State;lengthInTicks:I
      intermediary field_49086 Lnet/minecraft/class_9069$class_9070;field_49086:I
      official j Lcgn$a;j:I
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/entity/passive/ArmadilloEntity$State;index:I
      intermediary field_48337 Lnet/minecraft/class_9069$class_9070;field_48337:I
      official k Lcgn$a;k:I
  • Constructor Details

    • State

      private State(String name, boolean runRollUpTask, int lengthInTicks, int index)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/ArmadilloEntity$State;<init>(Ljava/lang/String;ILjava/lang/String;ZII)V
      intermediary <init> Lnet/minecraft/class_9069$class_9070;<init>(Ljava/lang/String;ILjava/lang/String;ZII)V
      official <init> Lcgn$a;<init>(Ljava/lang/String;ILjava/lang/String;ZII)V
  • Method Details

    • values

      public static ArmadilloEntity.State[] 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 ArmadilloEntity.State 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
    • fromName

      public static ArmadilloEntity.State fromName(String name)
      Mappings:
      Namespace Name Mixin selector
      named fromName Lnet/minecraft/entity/passive/ArmadilloEntity$State;fromName(Ljava/lang/String;)Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary method_55727 Lnet/minecraft/class_9069$class_9070;method_55727(Ljava/lang/String;)Lnet/minecraft/class_9069$class_9070;
      official a Lcgn$a;a(Ljava/lang/String;)Lcgn$a;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazk;c()Ljava/lang/String;
    • getIndex

      private int getIndex()
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/entity/passive/ArmadilloEntity$State;getIndex()I
      intermediary method_56084 Lnet/minecraft/class_9069$class_9070;method_56084()I
      official d Lcgn$a;d()I
    • isRolledUp

      public abstract boolean isRolledUp(long currentStateTicks)
      Mappings:
      Namespace Name Mixin selector
      named isRolledUp Lnet/minecraft/entity/passive/ArmadilloEntity$State;isRolledUp(J)Z
      intermediary method_56999 Lnet/minecraft/class_9069$class_9070;method_56999(J)Z
      official a Lcgn$a;a(J)Z
    • shouldRunRollUpTask

      public boolean shouldRunRollUpTask()
      Mappings:
      Namespace Name Mixin selector
      named shouldRunRollUpTask Lnet/minecraft/entity/passive/ArmadilloEntity$State;shouldRunRollUpTask()Z
      intermediary method_56998 Lnet/minecraft/class_9069$class_9070;method_56998()Z
      official a Lcgn$a;a()Z
    • getLengthInTicks

      public int getLengthInTicks()
      Mappings:
      Namespace Name Mixin selector
      named getLengthInTicks Lnet/minecraft/entity/passive/ArmadilloEntity$State;getLengthInTicks()I
      intermediary method_57000 Lnet/minecraft/class_9069$class_9070;method_57000()I
      official b Lcgn$a;b()I