add recalculate heightmap config (disabled by default)

This commit is contained in:
James Seibel
2024-11-02 13:06:27 -05:00
parent b7fccae64d
commit f3af6ce74b
2 changed files with 17 additions and 0 deletions
@@ -1268,6 +1268,19 @@ public class Config
+ "Expected Compression Ratio: 0.7\n"
+ "")
.build();
public static ConfigEntry<Boolean> recalculateChunkHeightmaps = new ConfigEntry.Builder<Boolean>()
.set(false)
.comment(""
+ "True: Recalculate chunk height maps before chunks can be used by DH.\n"
+ " This can fix problems with worlds created by World Painter or \n"
+ " other external tools where the heightmap format may be incorrect. \n"
+ "False: Assume any height maps handled by Minecraft are correct. \n"
+ "\n"
+ "Fastest: False\n"
+ "Most Compatible: True\n"
+ "")
.build();
}
public static class MultiThreading
@@ -571,6 +571,10 @@
"Lossy World Compression",
"distanthorizons.config.common.lodBuilding.worldCompression.@tooltip":
"How should block data be compressed when creating LOD data? \nThis setting will only affect new or updated LOD data, \nany data already generated when this setting is changed will be \nunaffected until it is modified or re-loaded. \n\nMost Accurate: Merge Same Blocks \nHighest Compression: Visually Equal",
"distanthorizons.config.common.lodBuilding.recalculateChunkHeightmaps":
"Recalculate Chunk Heightmaps",
"distanthorizons.config.common.lodBuilding.recalculateChunkHeightmaps.@tooltip":
"True: Recalculate chunk height maps before chunks can be used by DH. This can fix problems with worlds created by external tools. \nFalse: Assume any height maps handled by Minecraft are correct. \n\nFastest: False\nMost Compatible: True",
"distanthorizons.config.common.lodBuilding.showMigrationChatWarning":
"Log Migration In Chat",