Package net.minecraft.world.end
Enum DragonSpawnState
- java.lang.Object
-
- java.lang.Enum<DragonSpawnState>
-
- net.minecraft.world.end.DragonSpawnState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DragonSpawnState>
public enum DragonSpawnState extends java.lang.Enum<DragonSpawnState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END
PREPARING_TO_SUMMON_PILLARS
START
SUMMONING_DRAGON
SUMMONING_PILLARS
-
Constructor Summary
Constructors Modifier Constructor Description private
DragonSpawnState()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
tick(ServerWorld p_186079_1_, DragonFightManager p_186079_2_, java.util.List<EnderCrystalEntity> p_186079_3_, int p_186079_4_, BlockPos p_186079_5_)
static DragonSpawnState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DragonSpawnState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final DragonSpawnState START
-
PREPARING_TO_SUMMON_PILLARS
public static final DragonSpawnState PREPARING_TO_SUMMON_PILLARS
-
SUMMONING_PILLARS
public static final DragonSpawnState SUMMONING_PILLARS
-
SUMMONING_DRAGON
public static final DragonSpawnState SUMMONING_DRAGON
-
END
public static final DragonSpawnState END
-
-
Method Detail
-
values
public static DragonSpawnState[] 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 (DragonSpawnState c : DragonSpawnState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DragonSpawnState 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
-
tick
public abstract void tick(ServerWorld p_186079_1_, DragonFightManager p_186079_2_, java.util.List<EnderCrystalEntity> p_186079_3_, int p_186079_4_, BlockPos p_186079_5_)
-
-