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