Package net.minecraft.village.raid
Enum Class Raid.Status
- All Implemented Interfaces:
Serializable
,Comparable<Raid.Status>
,Constable
,StringIdentifiable
- Enclosing class:
Raid
- Mappings:
Namespace Name named net/minecraft/village/raid/Raid$Status
intermediary net/minecraft/class_3765$class_4259
official cty$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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Raid.Status> private final String
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 Raid.Status
Returns the enum constant of this class with the specified name.static Raid.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONGOING
- Mappings:
Namespace Name Mixin selector named ONGOING
Lnet/minecraft/village/raid/Raid$Status;ONGOING:Lnet/minecraft/village/raid/Raid$Status;
intermediary field_19026
Lnet/minecraft/class_3765$class_4259;field_19026:Lnet/minecraft/class_3765$class_4259;
official a
Lcty$a;a:Lcty$a;
-
VICTORY
- Mappings:
Namespace Name Mixin selector named VICTORY
Lnet/minecraft/village/raid/Raid$Status;VICTORY:Lnet/minecraft/village/raid/Raid$Status;
intermediary field_19027
Lnet/minecraft/class_3765$class_4259;field_19027:Lnet/minecraft/class_3765$class_4259;
official b
Lcty$a;b:Lcty$a;
-
LOSS
- Mappings:
Namespace Name Mixin selector named LOSS
Lnet/minecraft/village/raid/Raid$Status;LOSS:Lnet/minecraft/village/raid/Raid$Status;
intermediary field_19028
Lnet/minecraft/class_3765$class_4259;field_19028:Lnet/minecraft/class_3765$class_4259;
official c
Lcty$a;c:Lcty$a;
-
STOPPED
- Mappings:
Namespace Name Mixin selector named STOPPED
Lnet/minecraft/village/raid/Raid$Status;STOPPED:Lnet/minecraft/village/raid/Raid$Status;
intermediary field_19029
Lnet/minecraft/class_3765$class_4259;field_19029:Lnet/minecraft/class_3765$class_4259;
official d
Lcty$a;d:Lcty$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/village/raid/Raid$Status;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_56440
Lnet/minecraft/class_3765$class_4259;field_56440:Lcom/mojang/serialization/Codec;
official e
Lcty$a;e:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/village/raid/Raid$Status;id:Ljava/lang/String;
intermediary field_56441
Lnet/minecraft/class_3765$class_4259;field_56441:Ljava/lang/String;
official f
Lcty$a;f:Ljava/lang/String;
-
-
Constructor Details
-
Status
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/village/raid/Raid$Status;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3765$class_4259;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lcty$a;<init>(Ljava/lang/String;ILjava/lang/String;)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:
asString
in interfaceStringIdentifiable
- 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
Lbax;c()Ljava/lang/String;
-