powerconverters/src/main/java/covers1624/powerconverters/gui/PCConfigGui.java
2023-06-16 22:17:05 +02:00

25 lines
757 B
Java

package covers1624.powerconverters.gui;
import covers1624.powerconverters.handler.ConfigurationHandler;
import cpw.mods.fml.client.config.GuiConfig;
import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
public class PCConfigGui extends GuiConfig {
public PCConfigGui(GuiScreen parent) {
super(
parent,
(new ConfigElement(
ConfigurationHandler.INSTANCE.configuration.getCategory("basic")
))
.getChildElements(),
"PowerConverters3",
false,
true,
GuiConfig.getAbridgedConfigPath(
ConfigurationHandler.INSTANCE.configuration.toString()
)
);
}
}