public enum GuiType extends Enum<GuiType>
| Enum Constant and Description |
|---|
BREWING |
CHEST |
DISPENSER |
HOPPER |
WORKBENCH |
| Modifier and Type | Method and Description |
|---|---|
@NotNull org.bukkit.event.inventory.InventoryType |
getInventoryType() |
int |
getLimit() |
static GuiType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GuiType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiType CHEST
public static final GuiType WORKBENCH
public static final GuiType HOPPER
public static final GuiType DISPENSER
public static final GuiType BREWING
public static GuiType[] values()
for (GuiType c : GuiType.values()) System.out.println(c);
public static GuiType 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 null@NotNull public @NotNull org.bukkit.event.inventory.InventoryType getInventoryType()
public int getLimit()
Copyright © 2020. All rights reserved.