public enum MonsterEgg extends Enum<MonsterEgg> implements Metadata
| Enum Constant and Description |
|---|
CHISELED_STONE_BRICK |
COBBLESTONE |
CRACKED_STONE_BRICK |
MOSSY_STONE |
STONE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static MonsterEgg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonsterEgg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonsterEgg STONE
public static final MonsterEgg COBBLESTONE
public static final MonsterEgg MOSSY_STONE
public static final MonsterEgg CRACKED_STONE_BRICK
public static final MonsterEgg CHISELED_STONE_BRICK
public static MonsterEgg[] values()
for (MonsterEgg c : MonsterEgg.values()) System.out.println(c);
public static MonsterEgg 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 String toString()
toString in class Enum<MonsterEgg>Copyright © 2017–2018 NukkitX. All rights reserved.