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 named net/minecraft/entity/passive/ArmadilloEntity$Stateintermediary net/minecraft/class_9069$class_9070official clh$a
-
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 TypeFieldDescription(package private) static final com.mojang.serialization.Codec<ArmadilloEntity.State> private final intprivate static final IntFunction<ArmadilloEntity.State> private final intprivate final Stringstatic final PacketCodec<ByteBuf, ArmadilloEntity.State> private final booleanFields 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.private intgetIndex()intabstract booleanisRolledUp(long currentStateTicks) booleanstatic ArmadilloEntity.StateReturns 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 named IDLELnet/minecraft/entity/passive/ArmadilloEntity$State;IDLE:Lnet/minecraft/entity/passive/ArmadilloEntity$State;intermediary field_47790Lnet/minecraft/class_9069$class_9070;field_47790:Lnet/minecraft/class_9069$class_9070;official aLclh$a;a:Lclh$a;
-
ROLLING
- Mappings:
Namespace Name Mixin selector named ROLLINGLnet/minecraft/entity/passive/ArmadilloEntity$State;ROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;intermediary field_47791Lnet/minecraft/class_9069$class_9070;field_47791:Lnet/minecraft/class_9069$class_9070;official bLclh$a;b:Lclh$a;
-
SCARED
- Mappings:
Namespace Name Mixin selector named SCAREDLnet/minecraft/entity/passive/ArmadilloEntity$State;SCARED:Lnet/minecraft/entity/passive/ArmadilloEntity$State;intermediary field_47792Lnet/minecraft/class_9069$class_9070;field_47792:Lnet/minecraft/class_9069$class_9070;official cLclh$a;c:Lclh$a;
-
UNROLLING
- Mappings:
Namespace Name Mixin selector named UNROLLINGLnet/minecraft/entity/passive/ArmadilloEntity$State;UNROLLING:Lnet/minecraft/entity/passive/ArmadilloEntity$State;intermediary field_49084Lnet/minecraft/class_9069$class_9070;field_49084:Lnet/minecraft/class_9069$class_9070;official dLclh$a;d:Lclh$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/entity/passive/ArmadilloEntity$State;CODEC:Lcom/mojang/serialization/Codec;intermediary field_47794Lnet/minecraft/class_9069$class_9070;field_47794:Lcom/mojang/serialization/Codec;official fLclh$a;f:Lcom/mojang/serialization/Codec;
-
INDEX_TO_VALUE
- Mappings:
Namespace Name Mixin selector named INDEX_TO_VALUELnet/minecraft/entity/passive/ArmadilloEntity$State;INDEX_TO_VALUE:Ljava/util/function/IntFunction;intermediary field_48336Lnet/minecraft/class_9069$class_9070;field_48336:Ljava/util/function/IntFunction;official gLclh$a;g:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/passive/ArmadilloEntity$State;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48335Lnet/minecraft/class_9069$class_9070;field_48335:Lnet/minecraft/class_9139;official eLclh$a;e:Lze;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/entity/passive/ArmadilloEntity$State;name:Ljava/lang/String;intermediary field_47793Lnet/minecraft/class_9069$class_9070;field_47793:Ljava/lang/String;official hLclh$a;h:Ljava/lang/String;
-
runRollUpTask
private final boolean runRollUpTask- Mappings:
Namespace Name Mixin selector named runRollUpTaskLnet/minecraft/entity/passive/ArmadilloEntity$State;runRollUpTask:Zintermediary field_49085Lnet/minecraft/class_9069$class_9070;field_49085:Zofficial iLclh$a;i:Z
-
lengthInTicks
private final int lengthInTicks- Mappings:
Namespace Name Mixin selector named lengthInTicksLnet/minecraft/entity/passive/ArmadilloEntity$State;lengthInTicks:Iintermediary field_49086Lnet/minecraft/class_9069$class_9070;field_49086:Iofficial jLclh$a;j:I
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/entity/passive/ArmadilloEntity$State;index:Iintermediary field_48337Lnet/minecraft/class_9069$class_9070;field_48337:Iofficial kLclh$a;k:I
-
-
Constructor Details
-
State
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/ArmadilloEntity$State;<init>(Ljava/lang/String;ILjava/lang/String;ZII)Vintermediary <init>Lnet/minecraft/class_9069$class_9070;<init>(Ljava/lang/String;ILjava/lang/String;ZII)Vofficial <init>Lclh$a;<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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbax;c()Ljava/lang/String;
-
getIndex
private int getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/entity/passive/ArmadilloEntity$State;getIndex()Iintermediary method_56084Lnet/minecraft/class_9069$class_9070;method_56084()Iofficial dLclh$a;d()I
-
isRolledUp
public abstract boolean isRolledUp(long currentStateTicks) - Mappings:
Namespace Name Mixin selector named isRolledUpLnet/minecraft/entity/passive/ArmadilloEntity$State;isRolledUp(J)Zintermediary method_56999Lnet/minecraft/class_9069$class_9070;method_56999(J)Zofficial aLclh$a;a(J)Z
-
shouldRunRollUpTask
public boolean shouldRunRollUpTask()- Mappings:
Namespace Name Mixin selector named shouldRunRollUpTaskLnet/minecraft/entity/passive/ArmadilloEntity$State;shouldRunRollUpTask()Zintermediary method_56998Lnet/minecraft/class_9069$class_9070;method_56998()Zofficial aLclh$a;a()Z
-
getLengthInTicks
public int getLengthInTicks()- Mappings:
Namespace Name Mixin selector named getLengthInTicksLnet/minecraft/entity/passive/ArmadilloEntity$State;getLengthInTicks()Iintermediary method_57000Lnet/minecraft/class_9069$class_9070;method_57000()Iofficial bLclh$a;b()I
-