mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-21 16:12:21 +00:00
config fixes
This commit is contained in:
5 files changed
+21
-77
No files matched your search
@@ -145,9 +145,3 @@ gradle-app.setting
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/intellij+all,gradle,forgegradle,java
|
||||
!lib/*.jar
|
||||
|
||||
!run
|
||||
run/*
|
||||
!run/config
|
||||
run/config/*
|
||||
!run/config/archaicfix.cfg
|
||||
@@ -1,56 +0,0 @@
|
||||
# Configuration file
|
||||
|
||||
general {
|
||||
# Replace the regional difficulty calculation with a TMCW-style one that increases with playtime, not time per chunk. [default: true]
|
||||
B:betterRegionalDifficulty=true
|
||||
|
||||
# EXPERIMENTAL: Replace the Thaumcraft hashing implementation. This really hasn't been tested and probably breaks everything. [default: false]
|
||||
B:betterThaumcraftHashing=false
|
||||
|
||||
# EXPERIMENTAL: Cache matching crafting recipes to avoid needing to scan the whole list each time. [default: false]
|
||||
B:cacheRecipes=false
|
||||
|
||||
# Disable spawn chunks [default: true]
|
||||
B:disableSpawnChunks=true
|
||||
|
||||
# Prevents buttons from showing a yellow text color when hovered, as was done in 1.14+. [default: false]
|
||||
B:enableNewButtonAppearance=false
|
||||
|
||||
# Enables the 1.8-style occlusion culling originally developed by CoFHTweaks. Not compatible with OptiFine. [default: false]
|
||||
B:enableOcclusionTweaks=false
|
||||
|
||||
# Fix instances of cascading worldgen in Mekanism. [default: true]
|
||||
B:fixMekanismCascadingWorldgen=true
|
||||
|
||||
# Cap the integrated server render distance at a minimum of 8 chunks, and adjust despawn ranges so mobs will always despawn properly on low render distances. [default: true]
|
||||
B:fixMobSpawnsAtLowRenderDist=true
|
||||
|
||||
# [default: true]
|
||||
B:hideDownloadingTerrainScreen=true
|
||||
|
||||
# Improve the sorting of chunk updates, provides a slight improvement to how fast the world renders out to its border. Has no effect if enableOcclusionTweaks is on. [default: true]
|
||||
B:improveRenderSortingOrder=true
|
||||
|
||||
# Allow 65000 block updates to be performed per tick, rather than 1000. [default: true]
|
||||
B:increaseBlockUpdateLimit=true
|
||||
|
||||
# Increase the amount of armor mobs wear on average. From TMCW. [default: true]
|
||||
B:increaseMobArmor=true
|
||||
|
||||
# Reduce lag caused by item entities [default: true]
|
||||
B:itemLagReduction=true
|
||||
|
||||
# Log when cascading worldgen occurs. [default: true]
|
||||
B:logCascadingWorldgen=false
|
||||
|
||||
# Print a stacktrace when cascading worldgen occurs. Use only for development as this will add more lag in game. [default: false]
|
||||
B:logCascadingWorldgenStacktrace=false
|
||||
|
||||
# Increase the maximum render distance to 32 if OptiFine and FastCraft are not installed. [default: false]
|
||||
B:raiseMaxRenderDistance=false
|
||||
|
||||
# Have NEI take over creative searching. Much more performant, but requires the GTNH fork of NEI to be installed. [default: true]
|
||||
B:useNeiForCreativeSearch=true
|
||||
}
|
||||
|
||||
|
||||
@@ -3,9 +3,18 @@ package com.falsepattern.endlessids.config;
|
||||
import com.falsepattern.endlessids.Tags;
|
||||
import com.falsepattern.endlessids.constants.ExtendedConstants;
|
||||
import com.falsepattern.lib.config.Config;
|
||||
import com.falsepattern.lib.config.ConfigException;
|
||||
import com.falsepattern.lib.config.ConfigurationManager;
|
||||
|
||||
@Config(modid = Tags.MODID, category = "DarkWorld")
|
||||
@Config(modid = Tags.MODID, category = "darkworld")
|
||||
public class DarkWorldIDConfig {
|
||||
static {
|
||||
try {
|
||||
ConfigurationManager.registerConfig(DarkWorldIDConfig.class);
|
||||
} catch (ConfigException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
@Config.Comment("Original: 100")
|
||||
@Config.RangeInt(min = 40, max = ExtendedConstants.biomeIDCount - 1)
|
||||
@Config.DefaultInt(10100)
|
||||
|
||||
@@ -3,9 +3,18 @@ package com.falsepattern.endlessids.config;
|
||||
import com.falsepattern.endlessids.Tags;
|
||||
import com.falsepattern.endlessids.constants.ExtendedConstants;
|
||||
import com.falsepattern.lib.config.Config;
|
||||
import com.falsepattern.lib.config.ConfigException;
|
||||
import com.falsepattern.lib.config.ConfigurationManager;
|
||||
|
||||
@Config(modid = Tags.MODID, category = "futurepack")
|
||||
public class FuturepackIDConfig {
|
||||
static {
|
||||
try {
|
||||
ConfigurationManager.registerConfig(FuturepackIDConfig.class);
|
||||
} catch (ConfigException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
@Config.Comment("Original: 97")
|
||||
@Config.RangeInt(min = 40, max = ExtendedConstants.biomeIDCount - 1)
|
||||
@Config.DefaultInt(11097)
|
||||
|
||||
@@ -23,14 +23,13 @@ public enum TargetedMod implements ITargetedMod {
|
||||
BIOMETWEAKER("Biome Tweaker", true, startsWith("biometweaker-")),
|
||||
BIOMEWAND("Biome Wand", true, startsWith("1.7.10-biome-wand-").or(startsWith("biome-wand"))),
|
||||
COFHLIB("CoFH Lib", true, startsWith("cofhlib-")),
|
||||
DARKWORLD("Dark World", true, startsWith("darkworld-").and(loadConfig(DarkWorldIDConfig.class))),
|
||||
DARKWORLD("Dark World", true, startsWith("darkworld-")),
|
||||
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
|
||||
EB("Enhanced Biomes", true, startsWith("Enhanced Biomes").or(startsWith("enhancedbiomes"))),
|
||||
EREBUS("The Erebus", true, startsWith("theerebus")),
|
||||
EXTRAPLANETS("Extra Planets", false, startsWith("extraplanets-")),
|
||||
EXTRAUTILITIES("Extra Utilities", true, startsWith("extrautilities-")),
|
||||
FUTUREPACK("Futurepack", true, startsWith("[1.7.10]futurepack").or(startsWith("futurepack-")).and(loadConfig(
|
||||
FuturepackIDConfig.class))),
|
||||
FUTUREPACK("Futurepack", true, startsWith("[1.7.10]futurepack").or(startsWith("futurepack-"))),
|
||||
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
|
||||
HIGHLANDS("Highlands", true, startsWith("highlands")),
|
||||
ICG("Immersive Cavegen", true, startsWith("immersivecavegen")),
|
||||
@@ -46,17 +45,6 @@ public enum TargetedMod implements ITargetedMod {
|
||||
WORLDEDIT("WorldEdit", false, startsWith("worldedit-")),
|
||||
;
|
||||
|
||||
private static Predicate<String> loadConfig(Class<?> configClass) {
|
||||
return (str) -> {
|
||||
try {
|
||||
ConfigurationManager.registerConfig(configClass);
|
||||
} catch (ConfigException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
@Getter
|
||||
private final String modName;
|
||||
@Getter
|
||||
|
||||
Reference in new issue
Block a user