Add config gui

Remove unused config
This commit is contained in:
modmuss50 2018-01-30 23:20:21 +00:00
parent 9cd916f9ce
commit 7f26541237
3 changed files with 17 additions and 3 deletions

View file

@ -66,7 +66,7 @@ import techreborn.world.TechRebornWorldGen;
import java.io.File;
@Mod(modid = ModInfo.MOD_ID, name = ModInfo.MOD_NAME, version = ModInfo.MOD_VERSION, dependencies = ModInfo.MOD_DEPENDENCIES, acceptedMinecraftVersions = "[1.12,1.12.2]", certificateFingerprint = "8727a3141c8ec7f173b87aa78b9b9807867c4e6b")
@Mod(modid = ModInfo.MOD_ID, name = ModInfo.MOD_NAME, version = ModInfo.MOD_VERSION, dependencies = ModInfo.MOD_DEPENDENCIES, acceptedMinecraftVersions = "[1.12,1.12.2]", certificateFingerprint = "8727a3141c8ec7f173b87aa78b9b9807867c4e6b", guiFactory = "techreborn.client.TechRebornGuiFactory")
public class Core {
@SidedProxy(clientSide = ModInfo.CLIENT_PROXY_CLASS, serverSide = ModInfo.SERVER_PROXY_CLASS)

View file

@ -0,0 +1,16 @@
package techreborn.client;
import reborncore.common.config.ConfigGuiFactory;
import techreborn.lib.ModInfo;
public class TechRebornGuiFactory extends ConfigGuiFactory {
@Override
public String getModID() {
return ModInfo.MOD_ID;
}
@Override
public String getModName() {
return ModInfo.MOD_NAME;
}
}

View file

@ -35,8 +35,6 @@ public class ConfigTechReborn {
@ConfigRegistry(config = "recipes", category = "ic2", key = "deduplicate", comment = "Changes a lot of recipes and hides blocks to integrate TechReborn into IC2")
public static boolean REMOVE_DUPLICATES = false;
@ConfigRegistry(config = "client", category = "hud", key = "showChargeHud", comment = "Show the charge hud")
public static boolean ShowChargeHud = true;
@ConfigRegistry(config = "misc", category = "general", key = "enableGemTools", comment = "Enable Gem armor and tools")
public static boolean enableGemArmorAndTools = true;