Package net.minecraft.world.raid
Enum Raid.Status
- java.lang.Object
-
- java.lang.Enum<Raid.Status>
-
- net.minecraft.world.raid.Raid.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Raid.Status>
- Enclosing class:
- Raid
static enum Raid.Status extends java.lang.Enum<Raid.Status>
-
-
Field Summary
Fields Modifier and Type Field Description private static Raid.Status[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
Status()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static Raid.Status
getByName(java.lang.String p_221275_0_)
java.lang.String
getName()
static Raid.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Raid.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONGOING
public static final Raid.Status ONGOING
-
VICTORY
public static final Raid.Status VICTORY
-
LOSS
public static final Raid.Status LOSS
-
STOPPED
public static final Raid.Status STOPPED
-
-
Field Detail
-
VALUES
private static final Raid.Status[] VALUES
-
-
Method Detail
-
values
public static Raid.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Raid.Status c : Raid.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Raid.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getByName
private static Raid.Status getByName(java.lang.String p_221275_0_)
-
getName
public java.lang.String getName()
-
-