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$Statusintermediary net/minecraft/class_3765$class_4259official 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 StringFields 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.StatusReturns 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 ONGOINGLnet/minecraft/village/raid/Raid$Status;ONGOING:Lnet/minecraft/village/raid/Raid$Status;intermediary field_19026Lnet/minecraft/class_3765$class_4259;field_19026:Lnet/minecraft/class_3765$class_4259;official aLcty$a;a:Lcty$a;
-
VICTORY
- Mappings:
Namespace Name Mixin selector named VICTORYLnet/minecraft/village/raid/Raid$Status;VICTORY:Lnet/minecraft/village/raid/Raid$Status;intermediary field_19027Lnet/minecraft/class_3765$class_4259;field_19027:Lnet/minecraft/class_3765$class_4259;official bLcty$a;b:Lcty$a;
-
LOSS
- Mappings:
Namespace Name Mixin selector named LOSSLnet/minecraft/village/raid/Raid$Status;LOSS:Lnet/minecraft/village/raid/Raid$Status;intermediary field_19028Lnet/minecraft/class_3765$class_4259;field_19028:Lnet/minecraft/class_3765$class_4259;official cLcty$a;c:Lcty$a;
-
STOPPED
- Mappings:
Namespace Name Mixin selector named STOPPEDLnet/minecraft/village/raid/Raid$Status;STOPPED:Lnet/minecraft/village/raid/Raid$Status;intermediary field_19029Lnet/minecraft/class_3765$class_4259;field_19029:Lnet/minecraft/class_3765$class_4259;official dLcty$a;d:Lcty$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/village/raid/Raid$Status;CODEC:Lcom/mojang/serialization/Codec;intermediary field_56440Lnet/minecraft/class_3765$class_4259;field_56440:Lcom/mojang/serialization/Codec;official eLcty$a;e:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/village/raid/Raid$Status;id:Ljava/lang/String;intermediary field_56441Lnet/minecraft/class_3765$class_4259;field_56441:Ljava/lang/String;official fLcty$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;)Vintermediary <init>Lnet/minecraft/class_3765$class_4259;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <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:
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;
-