mirror of
https://github.com/squeek502/Squake.git
synced 2025-08-05 10:47:20 -04:00
21 lines
665 B
Java
21 lines
665 B
Java
package squeek.quakemovement;
|
|
|
|
import net.minecraft.client.gui.GuiScreen;
|
|
import net.minecraftforge.common.config.ConfigElement;
|
|
import net.minecraftforge.fml.client.DefaultGuiFactory;
|
|
import net.minecraftforge.fml.client.config.GuiConfig;
|
|
|
|
public class ModConfigGuiFactory extends DefaultGuiFactory
|
|
{
|
|
public ModConfigGuiFactory()
|
|
{
|
|
super(ModInfo.MODID, GuiConfig.getAbridgedConfigPath(ModConfig.config.toString()));
|
|
}
|
|
|
|
@Override
|
|
public GuiScreen createConfigGui(GuiScreen parentScreen)
|
|
{
|
|
return new GuiConfig(parentScreen, new ConfigElement(ModConfig.config.getCategory(ModConfig.CATEGORY_MOVEMENT)).getChildElements(), modid, false, false, title);
|
|
}
|
|
}
|