Package net.wesjd.anvilgui
Class AnvilGUI.Slot
java.lang.Object
net.wesjd.anvilgui.AnvilGUI.Slot
- Enclosing class:
AnvilGUI
Class wrapping the magic constants of slot numbers in an anvil GUI
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe slot on the far left, where the first input is inserted.static final intNot used, but in a real anvil you are able to put the second item you want to combine herestatic final intThe output slot, where an item is put when two items are combined fromINPUT_LEFTandINPUT_RIGHTorINPUT_LEFTis renamed -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INPUT_LEFT
public static final int INPUT_LEFTThe slot on the far left, where the first input is inserted. AnItemStackis always inserted here to be renamed- See Also:
-
INPUT_RIGHT
public static final int INPUT_RIGHTNot used, but in a real anvil you are able to put the second item you want to combine here- See Also:
-
OUTPUT
public static final int OUTPUTThe output slot, where an item is put when two items are combined fromINPUT_LEFTandINPUT_RIGHTorINPUT_LEFTis renamed- See Also:
-
-
Constructor Details
-
Slot
public Slot()
-
-
Method Details
-
values
public static int[] values()Get all anvil slot values- Returns:
- The array containing all possible anvil slots
-