package com.sixonethree.durabilityshow.client.gui;

import java.util.Set;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.fml.client.IModGuiFactory;

public class GuiFactory implements IModGuiFactory {
	@Override public void initialize(Minecraft minecraftInstance) {}
	
	@Override public Class<? extends GuiScreen> mainConfigGuiClass() {
		return ModGuiConfig.class;
	}
	
	@Override public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() {
		return null;
	}

	@Override public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) {
		return null;
	}

	@Override public boolean hasConfigGui() {
		return false;
	}

	@Override public GuiScreen createConfigGui(GuiScreen parentScreen) {
		return null;
	}
}
package com.sixonethree.durabilityshow.client.gui;

import java.util.Set;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.fml.client.IModGuiFactory;

public class GuiFactory implements IModGuiFactory {
	@Override public void initialize(Minecraft minecraftInstance) {}
	
	@Override public Class<? extends GuiScreen> mainConfigGuiClass() {
		return ModGuiConfig.class;
	}
	
	@Override public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() {
		return null;
	}

	@Override public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) {
		return null;
	}

	@Override public boolean hasConfigGui() {
		return true;
	}

	@Override public GuiScreen createConfigGui(GuiScreen parentScreen) {
		return new ModGuiConfig(parentScreen);
	}
}
Fix in-game config GUI