跳到正文

Command Optimiser

作者:Barnaby

Reduces performance impact of command blocks by caching parsing results.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Command Optimiser

Reduces performance impact of command blocks by caching parsing results.

How it works

When running command blocks, the game parses the command text every time it is run. This takes up a lot of redundant processing time. Instead if the results of parsing are stored in memory we can speed up command execution. The command only needs to be parsed again when it is changed.

Expected performance improvements

Depending on the number of command blocks you use, the performance gains may vary.

You can safely expect that the TPS impact of command blocks will reduce by at least 10-20%. Gains will likely be smaller for commands that affect blocks than other, less intensive commands.

Testing with real-world command usage on a creative server showed a reduction of about 30% (overall 3-4% of server busy time).

常见问题

Command Optimiser 支持哪些 Minecraft 版本?

Command Optimiser 支持 Minecraft Java 版 1.21–26.1.2,共 15 个版本,可用的加载器:Fabric / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Command Optimiser 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Barnaby 的其他作品

查看全部 →