public static enum AnvilGUI.AnvilSlot extends Enum<AnvilGUI.AnvilSlot>
Enum Constant and Description |
---|
INPUT_LEFT |
INPUT_RIGHT |
OUTPUT |
Modifier and Type | Method and Description |
---|---|
static AnvilGUI.AnvilSlot |
bySlot(int slot) |
int |
getSlot() |
static AnvilGUI.AnvilSlot |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnvilGUI.AnvilSlot[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnvilGUI.AnvilSlot INPUT_LEFT
public static final AnvilGUI.AnvilSlot INPUT_RIGHT
public static final AnvilGUI.AnvilSlot OUTPUT
public static AnvilGUI.AnvilSlot[] values()
for (AnvilGUI.AnvilSlot c : AnvilGUI.AnvilSlot.values()) System.out.println(c);
public static AnvilGUI.AnvilSlot 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 static AnvilGUI.AnvilSlot bySlot(int slot)
public int getSlot()
Copyright © 2018. All rights reserved.