public enum BlockCategory extends Enum<BlockCategory>
| Enum Constant and Description |
|---|
CROPS |
DOOR |
DOUBLE_SLAB |
FENCE |
FENCE_GATE |
LEAVES |
LIQUID |
LOG |
SLAB |
SOLID |
STAIRS |
TRANSPARENT |
TRAPDOOR |
| Modifier and Type | Method and Description |
|---|---|
static BlockCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockCategory SOLID
public static final BlockCategory TRANSPARENT
public static final BlockCategory STAIRS
public static final BlockCategory SLAB
public static final BlockCategory DOUBLE_SLAB
public static final BlockCategory DOOR
public static final BlockCategory TRAPDOOR
public static final BlockCategory LOG
public static final BlockCategory LEAVES
public static final BlockCategory LIQUID
public static final BlockCategory CROPS
public static final BlockCategory FENCE
public static final BlockCategory FENCE_GATE
public static BlockCategory[] values()
for (BlockCategory c : BlockCategory.values()) System.out.println(c);
public static BlockCategory 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 © 2020. All rights reserved.