aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/LODMod.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-06-04 22:20:54 +0200
committermakamys <makamys@outlook.com>2021-06-04 22:20:54 +0200
commit81696d7b3dfae030d10672d38eb5b28049733cd5 (patch)
treebfcf153f733d16217125a9071cd45c5184aec7f5 /src/main/java/makamys/lodmod/LODMod.java
parent7efc1268d83511653a015611faeb4a5ead0354be (diff)
downloadNeodymium-81696d7b3dfae030d10672d38eb5b28049733cd5.tar.gz
Neodymium-81696d7b3dfae030d10672d38eb5b28049733cd5.tar.bz2
Neodymium-81696d7b3dfae030d10672d38eb5b28049733cd5.zip
Add option to force vanilla temperature algorithm, fixes SS incompatibility
Serene Seasons changes biomes to be colder in certain seasons, making LODMod think there should be snow there, while no snow is actually generated. Setting this config option to true fixes this mismatch.
Diffstat (limited to 'src/main/java/makamys/lodmod/LODMod.java')
-rw-r--r--src/main/java/makamys/lodmod/LODMod.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/LODMod.java b/src/main/java/makamys/lodmod/LODMod.java
index c700f77..1490a0a 100644
--- a/src/main/java/makamys/lodmod/LODMod.java
+++ b/src/main/java/makamys/lodmod/LODMod.java
@@ -51,6 +51,7 @@ public class LODMod
public static double fogStart;
public static double fogEnd;
public static float maxSimpleMeshHeight;
+ public static boolean forceVanillaBiomeTemperature;
private File configFile;
@@ -83,6 +84,8 @@ public class LODMod
fogEnd = config.get("Fog", "fogEnd", "0.8").getDouble();
debugEnabled = config.get("Debug", "enabled", false).getBoolean();
maxSimpleMeshHeight = (float)config.get("Debug", "maxSimpleMeshHeight", 1000.0).getDouble();
+
+ forceVanillaBiomeTemperature = config.get("Simple mesh generation", "forceVanillaBiomeTemperature", true).getBoolean();
if(config.hasChanged()) {
config.save();