9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 18:09:17 +00:00

FastBiomeManagerSeedObfuscation no longer experimental

This commit is contained in:
HaHaWTH
2025-07-03 01:56:03 +14:00
parent d312323458
commit 954eef4b5a

View File

@@ -12,7 +12,6 @@ public class FastBiomeManagerSeedObfuscation extends ConfigModules {
return EnumConfigCategory.PERF.getBaseKeyName() + ".fast-biome-manager-seed-obfuscation";
}
@Experimental
public static boolean enabled = false;
public static long seedObfuscationKey = ThreadLocalRandom.current().nextLong();
public static String seedObfKeyPath;
@@ -22,10 +21,8 @@ public class FastBiomeManagerSeedObfuscation extends ConfigModules {
enabled = config.getBoolean(getBasePath() + ".enabled", enabled,
config.pickStringRegionBased(
"""
**EXPERMIENTAL FEATURE**
Replace vanilla SHA-256 seed obfuscation in BiomeManager with XXHash.""",
"""
**实验性功能**
将原版 BiomeManager 的 SHA-256 种子混淆换成 XXHash."""));
seedObfuscationKey = config.getLong(seedObfKeyPath = getBasePath() + ".seed-obfuscation-key", seedObfuscationKey,
config.pickStringRegionBased(