package mods.phlenum.cll.client.gui; import java.util.Set; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.fml.client.IModGuiFactory; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; /** * The Combustible Lemon Launcher mod * https://github.com/Phlenum/Combustible-Lemon-Launcher * http://minecraft.curseforge.com/mc-mods/62429-combustible-lemon-launcher * @author Phil Julian * @date 06 Jan 2016 */ @SideOnly(Side.CLIENT) public class CLLGuiFactory implements IModGuiFactory { @Override public void initialize(Minecraft minecraftInstance){ } @Override public Class<? extends GuiScreen> mainConfigGuiClass(){ return CLLConfigGUI.class; } @Override public Set<RuntimeOptionCategoryElement> runtimeGuiCategories(){ return null; } @SuppressWarnings("deprecation") @Override public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement arg0){ return null; } @Override public GuiScreen createConfigGui(GuiScreen parentScreen) { return new CLLConfigGUI(parentScreen); } @Override public boolean hasConfigGui() { return true; } }