9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 11:29:17 +00:00

添加自定义压缩方案

This commit is contained in:
XiaoMoMi
2025-04-06 17:02:22 +08:00
parent c3e6a1b332
commit 7ba13b6a6a
11 changed files with 101 additions and 16 deletions

View File

@@ -229,6 +229,12 @@ light-system:
force-update-light: false
chunk-system:
# 1 = NONE | Compression Speed | Decompress Speed | Compression Ratio | Memory Usage |
# 2 = DEFLATE | Medium-Slow Medium Moderate Low |
# 3 = GZIP | Medium-Slow Medium Moderate Low |
# 4 = LAZ4 | Blazing-Fast Blazing-Fast Low Low |
# 5 = ZSTD | Medium-Fast Fast High Medium |
compression-method: 4
# Disabling this option prevents the plugin from converting custom blocks to vanilla states when chunks are unloaded.
# While this can improve performance, custom blocks will turn into air if the plugin is uninstalled.
restore-vanilla-blocks-on-chunk-unload: true

View File

@@ -26,4 +26,5 @@ adventure-text-minimessage=${adventure_bundle_version}
adventure-text-serializer-gson=${adventure_bundle_version}
adventure-text-serializer-json=${adventure_bundle_version}
netty-codec-http=${netty_version}
ahocorasick=${ahocorasick_version}
ahocorasick=${ahocorasick_version}
lz4=${lz4_version}