Package org.kingdoms.gui.objects
Class GUIOptionParser
java.lang.Object
org.kingdoms.gui.objects.GUIOptionParser
-
Constructor Summary
ConstructorsConstructorDescriptionGUIOptionParser(String name, ConfigSection root, ConfigSection config, String guiName, GUIInventoryConstructor guiCtor, Map<Integer, String> occupiedSlots, ArrayList<GUIOptionObject> parents) -
Method Summary
Modifier and TypeMethodDescriptionbuild()parsePure(String name, ConfigSection itemConfig) static int[]rawSlotToXY(int slot) static com.cryptomorin.xseries.XMaterialunsupportedMaterial(com.cryptomorin.xseries.XMaterial mat)
-
Constructor Details
-
GUIOptionParser
public GUIOptionParser(String name, ConfigSection root, ConfigSection config, String guiName, GUIInventoryConstructor guiCtor, Map<Integer, String> occupiedSlots, ArrayList<GUIOptionObject> parents)
-
-
Method Details
-
unsupportedMaterial
public static com.cryptomorin.xseries.XMaterial unsupportedMaterial(com.cryptomorin.xseries.XMaterial mat) -
rawSlotToXY
public static int[] rawSlotToXY(int slot) -
extendParent
-
build
-
parsePure
-