public enum EnderDragonSpawnState extends Enum<EnderDragonSpawnState>
Enum Constant and Description |
---|
END |
PREPARING_TO_SUMMON_PILLARS |
START |
SUMMONING_DRAGON |
SUMMONING_PILLARS |
Modifier and Type | Method and Description |
---|---|
abstract void |
run(ServerWorld world,
EnderDragonFight fight,
List<EndCrystalEntity> crystals,
int int2,
BlockPos blockPos) |
static EnderDragonSpawnState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnderDragonSpawnState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnderDragonSpawnState START
public static final EnderDragonSpawnState PREPARING_TO_SUMMON_PILLARS
public static final EnderDragonSpawnState SUMMONING_PILLARS
public static final EnderDragonSpawnState SUMMONING_DRAGON
public static final EnderDragonSpawnState END
public static EnderDragonSpawnState[] values()
for (EnderDragonSpawnState c : EnderDragonSpawnState.values()) System.out.println(c);
public static EnderDragonSpawnState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void run(ServerWorld world, EnderDragonFight fight, List<EndCrystalEntity> crystals, int int2, BlockPos blockPos)