public enum WoodBlock extends Enum<WoodBlock>
| Enum Constant and Description |
|---|
BOAT |
FENCE |
LEAVES |
LOG |
PLANKS |
SAPLING |
SLAB |
| Modifier and Type | Method and Description |
|---|---|
static WoodBlock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WoodBlock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WoodBlock BOAT
public static final WoodBlock FENCE
public static final WoodBlock LEAVES
public static final WoodBlock LOG
public static final WoodBlock PLANKS
public static final WoodBlock SAPLING
public static final WoodBlock SLAB
public static WoodBlock[] values()
for (WoodBlock c : WoodBlock.values()) System.out.println(c);
public static WoodBlock 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 © 2019 GeyserMC. All rights reserved.