public enum WindowType extends Enum<WindowType>
| Enum Constant and Description |
|---|
ANVIL |
BEACON |
BREWING_STAND |
CHEST |
CRAFTING_TABLE |
DISPENSER |
DROPPER |
ENCHANTING_TABLE |
FURNACE |
GENERIC_INVENTORY |
HOPPER |
HORSE |
SHULKER_BOX |
VILLAGER |
| Modifier and Type | Method and Description |
|---|---|
static WindowType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowType GENERIC_INVENTORY
public static final WindowType ANVIL
public static final WindowType BEACON
public static final WindowType BREWING_STAND
public static final WindowType CHEST
public static final WindowType CRAFTING_TABLE
public static final WindowType DISPENSER
public static final WindowType DROPPER
public static final WindowType ENCHANTING_TABLE
public static final WindowType FURNACE
public static final WindowType HOPPER
public static final WindowType VILLAGER
public static final WindowType SHULKER_BOX
public static final WindowType HORSE
public static WindowType[] values()
for (WindowType c : WindowType.values()) System.out.println(c);
public static WindowType 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.