@@ -0,0 +1,921 @@
+package com.SamB440.AdvancementGUI;%0A%0Aimport org.bukkit.Bukkit;%0A%0A/**%0A * Created by ysl3000%0A */%0Apublic enum FrameType %7B%0A    TASK(%22task%22),%0A    GOAL(%22goal%22),%0A    CHALLENGE(%22challenge%22);%0A    private String name;%0A%0A    FrameType(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public static FrameType getFromString(String frameType) %7B%0A        if (frameType.equalsIgnoreCase(%22random%22)) return FrameType.RANDOM();%0A        else try %7B%0A            return FrameType.valueOf(frameType);%0A        %7D catch (EnumConstantNotPresentException e) %7B%0A            Bukkit.getLogger().info(%22%5BAdvancementAPI%5D Unknown FrameType given. Using default (TASK)%22);%0A            return FrameType.TASK;%0A        %7D%0A    %7D%0A%0A    public static FrameType RANDOM() %7B%0A        FrameType%5B%5D frameTypes = FrameType.values();%0A        return frameTypes%5B(int) (Math.random() * (frameTypes.length - 1))%5D;%0A    %7D%0A%0A    public String toString() %7B%0A        return name;%0A    %7D%0A%7D%0A

Create FrameType.java