public enum WoodType extends Enum<WoodType>
| Enum Constant and Description |
|---|
ACACIA |
BIRCH |
DARK_OAK |
JUNGLE |
OAK |
SPRUCE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static WoodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WoodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WoodType OAK
public static final WoodType SPRUCE
public static final WoodType BIRCH
public static final WoodType JUNGLE
public static final WoodType ACACIA
public static final WoodType DARK_OAK
public static WoodType[] values()
for (WoodType c : WoodType.values()) System.out.println(c);
public static WoodType 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 getName()
Copyright © 2019 GeyserMC. All rights reserved.