Skip to content

Commit

Permalink
- 删除 ChunkBlockStateCache 功能。
Browse files Browse the repository at this point in the history
  • Loading branch information
KasumiNova committed Sep 22, 2024
1 parent 58f9f85 commit 6938d29
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 213 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {

// Project properties
group = "github.kasuminova.stellarcore"
version = "1.4.10"
version = "1.4.11"

// Set the toolchain version to decouple the Java we run Gradle with from the Java used to compile and run the mod
java {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -725,14 +725,6 @@ public static class Vanilla {
@Config.Name("ResourceExistStateCache")
public boolean resourceExistStateCache = true;

@Config.Comment({
"(Client/Server Performance | Experimental) Caching Chunk's IBlockState data, which may significantly improve the performance of some mods, but uses more memory.",
"Highly experimental, use at your own risk."
})
@Config.RequiresMcRestart
@Config.Name("ChunkBlockStateCache")
public boolean chunkBlockStateCache = false;

@Config.Comment({
"(Client/Server Performance) Use parallelStream to handle randomTick operations on world blocks to improve performance in more player environments,",
"possibly affecting the random logic of the original game."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class StellarCoreEarlyMixinLoader implements IFMLLoadingPlugin {
addMixinCFG("mixins.stellar_core_minecraft_blockpart.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.blockPartDataStructure);
addMixinCFG("mixins.stellar_core_minecraft_blockstateimpl.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.blockStateImplementationHashCodeCache);
addMixinCFG("mixins.stellar_core_minecraft_chunk.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.blockPos2ValueMap);
addMixinCFG("mixins.stellar_core_minecraft_chunk_cache.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.chunkBlockStateCache);
addMixinCFG("mixins.stellar_core_minecraft_classmultimap.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.classMultiMap);
addMixinCFG("mixins.stellar_core_minecraft_entitytracker.json", () -> StellarCoreConfig.PERFORMANCE.vanilla.entitytracker);
addMixinCFG("mixins.stellar_core_minecraft_longnbtkiller.json", () -> StellarCoreConfig.BUG_FIXES.vanilla.longNBTKiller);
Expand Down

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions src/main/resources/mixins.stellar_core_minecraft_chunk_cache.json

This file was deleted.

0 comments on commit 6938d29

Please sign in to comment.