diff options
author | makamys <makamys@outlook.com> | 2022-06-03 09:20:46 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-03 09:20:46 +0200 |
commit | d337c7abd2e4fd82325c2c0b3eae0f42cef813a6 (patch) | |
tree | d73b7150157d3fb9d654d71291cd8b37d9addd70 /src/main/java/makamys/lodmod/LODMod.java | |
parent | a8bcc5b9f10b304e2dafdcd69668ababf0ed5fa8 (diff) | |
download | Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.tar.gz Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.tar.bz2 Neodymium-d337c7abd2e4fd82325c2c0b3eae0f42cef813a6.zip |
Add more options to enable usage as renderer replacer
Diffstat (limited to 'src/main/java/makamys/lodmod/LODMod.java')
-rw-r--r-- | src/main/java/makamys/lodmod/LODMod.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/LODMod.java b/src/main/java/makamys/lodmod/LODMod.java index 0bf46d7..97ca822 100644 --- a/src/main/java/makamys/lodmod/LODMod.java +++ b/src/main/java/makamys/lodmod/LODMod.java @@ -55,6 +55,9 @@ public class LODMod public static double farPlaneDistanceMultiplier; public static float maxSimpleMeshHeight; public static boolean forceVanillaBiomeTemperature; + public static boolean hideUnderVanillaChunks; + public static boolean disableChunkMeshes; + public static boolean disableSimpleMeshes; private File configFile; @@ -92,6 +95,10 @@ public class LODMod forceVanillaBiomeTemperature = config.get("Simple mesh generation", "forceVanillaBiomeTemperature", true).getBoolean(); + hideUnderVanillaChunks = config.getBoolean("hideUnderVanillaChunks", "render", true, ""); + disableChunkMeshes = config.getBoolean("disableChunkMeshes", "render", true, ""); + disableSimpleMeshes = config.getBoolean("disableSimpleMeshes", "render", false, ""); + if(config.hasChanged()) { config.save(); } |