Add config gui
Remove unused config
This commit is contained in:
parent
9cd916f9ce
commit
7f26541237
3 changed files with 17 additions and 3 deletions
|
@ -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)
|
||||
|
|
16
src/main/java/techreborn/client/TechRebornGuiFactory.java
Normal file
16
src/main/java/techreborn/client/TechRebornGuiFactory.java
Normal 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;
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue