aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/config/Config.java
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-08-14 05:35:32 +0200
committermakamys <makamys@outlook.com>2022-08-14 05:37:12 +0200
commitaea8d637ea3e14255fdd011ef1ae38b4b7066b9e (patch)
treeb28f587ba92bc3744c73329e85e5882153bdb314 /src/main/java/makamys/neodymium/config/Config.java
parent2151f5c267a18b59bd51d9a07bab06978a9200c7 (diff)
downloadNeodymium-aea8d637ea3e14255fdd011ef1ae38b4b7066b9e.tar.gz
Neodymium-aea8d637ea3e14255fdd011ef1ae38b4b7066b9e.tar.bz2
Neodymium-aea8d637ea3e14255fdd011ef1ae38b4b7066b9e.zip
Disable vanilla chunk mesh construction
Improves chunk update performance
Diffstat (limited to 'src/main/java/makamys/neodymium/config/Config.java')
-rw-r--r--src/main/java/makamys/neodymium/config/Config.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/config/Config.java b/src/main/java/makamys/neodymium/config/Config.java
index 5b110fd..a8ea60e 100644
--- a/src/main/java/makamys/neodymium/config/Config.java
+++ b/src/main/java/makamys/neodymium/config/Config.java
@@ -80,6 +80,8 @@ public class Config {
public static boolean showDebugInfo;
@ConfigBoolean(cat="debug", def=false)
public static boolean wireframe;
+ @ConfigBoolean(cat="debug", def=false, com="Enable building of vanilla chunk meshes. Makes it possible to switch to the vanilla renderer on the fly, at the cost of reducing chunk update performance.")
+ public static boolean enableVanillaChunkMeshes;
private static Configuration config;
private static File configFile = new File(Launch.minecraftHome, "config/" + MODID + ".cfg");