public enum ColoredBlock extends Enum<ColoredBlock>
| Enum Constant and Description |
|---|
BANNER |
CARPET |
CONCRETE |
CONCRETE_POWDER |
DYE |
SHULKER_BOX |
STAINED_GLASS |
STAINED_GLASS_PANE |
TERRACOTTA |
WOOL |
| Modifier and Type | Method and Description |
|---|---|
static ColoredBlock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColoredBlock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColoredBlock BANNER
public static final ColoredBlock CARPET
public static final ColoredBlock CONCRETE
public static final ColoredBlock CONCRETE_POWDER
public static final ColoredBlock DYE
public static final ColoredBlock SHULKER_BOX
public static final ColoredBlock STAINED_GLASS
public static final ColoredBlock STAINED_GLASS_PANE
public static final ColoredBlock TERRACOTTA
public static final ColoredBlock WOOL
public static ColoredBlock[] values()
for (ColoredBlock c : ColoredBlock.values()) System.out.println(c);
public static ColoredBlock 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.