Package net.minecraft.entity.passive
Enum Class 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 official cey$a
intermediary net/minecraft/class_9069$class_9070
named net/minecraft/entity/passive/ArmadilloEntity$State
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringIdentifiable.EnumCodec
<ArmadilloEntity.State> private final int
private static final IntFunction
<ArmadilloEntity.State> private final int
private final String
static final PacketCodec
<ByteBuf, ArmadilloEntity.State> private final boolean
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static ArmadilloEntity.State
private int
getIndex()
int
abstract boolean
isRolledUp
(long currentStateTicks) boolean
static ArmadilloEntity.State
Returns the enum constant of this class with the specified name.static ArmadilloEntity.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IDLE
- Mappings:
Namespace Name Mixin selector official a
Lcey$a;a:Lcey$a;
intermediary field_47790
Lnet/minecraft/class_9069$class_9070;field_47790:Lnet/minecraft/class_9069$class_9070;
named IDLE
Lnet/minecraft/entity/passive/ArmadilloEntity$State;IDLE:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
ROLLING
- Mappings:
Namespace Name Mixin selector official b
Lcey$a;b:Lcey$a;
intermediary field_47791
Lnet/minecraft/class_9069$class_9070;field_47791:Lnet/minecraft/class_9069$class_9070;
named ROLLING
Lnet/minecraft/entity/passive/ArmadilloEntity$State;ROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
SCARED
- Mappings:
Namespace Name Mixin selector official c
Lcey$a;c:Lcey$a;
intermediary field_47792
Lnet/minecraft/class_9069$class_9070;field_47792:Lnet/minecraft/class_9069$class_9070;
named SCARED
Lnet/minecraft/entity/passive/ArmadilloEntity$State;SCARED:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
UNROLLING
- Mappings:
Namespace Name Mixin selector official d
Lcey$a;d:Lcey$a;
intermediary field_49084
Lnet/minecraft/class_9069$class_9070;field_49084:Lnet/minecraft/class_9069$class_9070;
named UNROLLING
Lnet/minecraft/entity/passive/ArmadilloEntity$State;UNROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official f
Lcey$a;f:Layt$a;
intermediary field_47794
Lnet/minecraft/class_9069$class_9070;field_47794:Lnet/minecraft/class_3542$class_7292;
named CODEC
Lnet/minecraft/entity/passive/ArmadilloEntity$State;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
-
INDEX_TO_VALUE
- Mappings:
Namespace Name Mixin selector official g
Lcey$a;g:Ljava/util/function/IntFunction;
intermediary field_48336
Lnet/minecraft/class_9069$class_9070;field_48336:Ljava/util/function/IntFunction;
named INDEX_TO_VALUE
Lnet/minecraft/entity/passive/ArmadilloEntity$State;INDEX_TO_VALUE:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector official e
Lcey$a;e:Lys;
intermediary field_48335
Lnet/minecraft/class_9069$class_9070;field_48335:Lnet/minecraft/class_9139;
named PACKET_CODEC
Lnet/minecraft/entity/passive/ArmadilloEntity$State;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
name
- Mappings:
Namespace Name Mixin selector official h
Lcey$a;h:Ljava/lang/String;
intermediary field_47793
Lnet/minecraft/class_9069$class_9070;field_47793:Ljava/lang/String;
named name
Lnet/minecraft/entity/passive/ArmadilloEntity$State;name:Ljava/lang/String;
-
runRollUpTask
private final boolean runRollUpTask- Mappings:
Namespace Name Mixin selector official i
Lcey$a;i:Z
intermediary field_49085
Lnet/minecraft/class_9069$class_9070;field_49085:Z
named runRollUpTask
Lnet/minecraft/entity/passive/ArmadilloEntity$State;runRollUpTask:Z
-
lengthInTicks
private final int lengthInTicks- Mappings:
Namespace Name Mixin selector official j
Lcey$a;j:I
intermediary field_49086
Lnet/minecraft/class_9069$class_9070;field_49086:I
named lengthInTicks
Lnet/minecraft/entity/passive/ArmadilloEntity$State;lengthInTicks:I
-
index
private final int index- Mappings:
Namespace Name Mixin selector official k
Lcey$a;k:I
intermediary field_48337
Lnet/minecraft/class_9069$class_9070;field_48337:I
named index
Lnet/minecraft/entity/passive/ArmadilloEntity$State;index:I
-
-
Constructor Details
-
State
- Mappings:
Namespace Name Mixin selector official <init>
Lcey$a;<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
named <init>
Lnet/minecraft/entity/passive/ArmadilloEntity$State;<init>(Ljava/lang/String;ILjava/lang/String;ZII)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromName
- Mappings:
Namespace Name Mixin selector official a
Lcey$a;a(Ljava/lang/String;)Lcey$a;
intermediary method_55727
Lnet/minecraft/class_9069$class_9070;method_55727(Ljava/lang/String;)Lnet/minecraft/class_9069$class_9070;
named fromName
Lnet/minecraft/entity/passive/ArmadilloEntity$State;fromName(Ljava/lang/String;)Lnet/minecraft/entity/passive/ArmadilloEntity$State;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Layt;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
getIndex
private int getIndex()- Mappings:
Namespace Name Mixin selector official d
Lcey$a;d()I
intermediary method_56084
Lnet/minecraft/class_9069$class_9070;method_56084()I
named getIndex
Lnet/minecraft/entity/passive/ArmadilloEntity$State;getIndex()I
-
isRolledUp
public abstract boolean isRolledUp(long currentStateTicks) - Mappings:
Namespace Name Mixin selector official a
Lcey$a;a(J)Z
intermediary method_56999
Lnet/minecraft/class_9069$class_9070;method_56999(J)Z
named isRolledUp
Lnet/minecraft/entity/passive/ArmadilloEntity$State;isRolledUp(J)Z
-
shouldRunRollUpTask
public boolean shouldRunRollUpTask()- Mappings:
Namespace Name Mixin selector official a
Lcey$a;a()Z
intermediary method_56998
Lnet/minecraft/class_9069$class_9070;method_56998()Z
named shouldRunRollUpTask
Lnet/minecraft/entity/passive/ArmadilloEntity$State;shouldRunRollUpTask()Z
-
getLengthInTicks
public int getLengthInTicks()- Mappings:
Namespace Name Mixin selector official b
Lcey$a;b()I
intermediary method_57000
Lnet/minecraft/class_9069$class_9070;method_57000()I
named getLengthInTicks
Lnet/minecraft/entity/passive/ArmadilloEntity$State;getLengthInTicks()I
-