public enum WindowId extends Enum<WindowId>
| Enum Constant and Description |
|---|
ARMOR |
CREATIVE |
CURSOR |
FIRST |
FIXED_INVENTORY |
HOTBAR |
INVENTORY |
LAST |
NONE |
OFFHAND |
| Modifier and Type | Method and Description |
|---|---|
byte |
id() |
static WindowId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowId NONE
public static final WindowId INVENTORY
public static final WindowId FIRST
public static final WindowId LAST
public static final WindowId OFFHAND
public static final WindowId ARMOR
public static final WindowId CREATIVE
public static final WindowId HOTBAR
public static final WindowId FIXED_INVENTORY
public static final WindowId CURSOR
public static WindowId[] values()
for (WindowId c : WindowId.values()) System.out.println(c);
public static WindowId 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 byte id()
Copyright © 2017–2018 NukkitX. All rights reserved.