SGUProfiler 在服务器刻(tick)中对每个实体的工作进行采样(包括 AI、实体更新、移动/传送、碰撞等)。当存在 Carpet 时,你还可以将假玩家的时间拆分为攻击、使用以及其他 ActionPack 分类。报告通过 Carpet 的 Messenger 样式打印在聊天栏中(安装 Carpet 以获得预期的颜色;核心 profiling 功能无需 Carpet 也可运行)。
为什么使用它
- 找出在你控制的窗口期内,哪个维度中的哪些实体主导了刻时间。
- 提供可选的维度过滤器和针对 Carpet 玩家的仅机器人模式。
- 可在
config/sguprofiler.json中配置自动 MSPT、计划分析、采样步长/重刻模式以及噪声底限。
依赖要求
- Minecraft: 1.21.1、1.21.4、1.21.6–1.21.11(含 1.21.10)——请使用与你的游戏版本匹配的
sguprofiler-<version>+mc<YOUR_MC>.jar文件。 - Java 21+
- Fabric Loader(≥ 0.16.0;请参阅项目元数据)
- 对应 MC 版本的 Fabric API
可选: Carpet ——用于 profile … bot 命令以及攻击/使用拆分;请使用与你 MC 版本兼容的 Carpet 构建版。
快速入门
- 安装 Fabric + Fabric API(需匹配 MC 版本)。
- 将正确的
+mc…jar 文件放入mods/目录。 - 你必须是原版操作员(operator),或者被列入
config/sguprofiler_command_whitelist.json白名单中(由 OP / 高权限控制台管理)。 - 在游戏中(根命令区分大小写):
/SGUProfiler profile start— 完整分析/SGUProfiler profile start overworld/nether/end/all— 按维度过滤/SGUProfiler profile start bot— 仅限 Carpet 假玩家动作(需安装 Carpet)/SGUProfiler profile stop— 停止并打印报告
报告中的数字是每个桶(bucket)每采样刻的毫秒数——这与 F3 显示的整服 MSPT 不同;请勿将行总和视为“服务器 MSPT”。
链接
- 源码 / 问题反馈:
- Carpet:
- Fabric API:
许可证: MIT
SGUProfiler samples per-entity work on the server tick (AI, entity tick, movement/teleport, collisions, and more). When Carpet is present, you can also split fake-player time into Attack, Use, and other ActionPack buckets. Reports are printed in chat using Carpet’s Messenger styling (install Carpet for the intended colors; core profiling still runs without it).
Why use it
- Find which entities in which dimension dominate tick time during a window you control.
- Optional dimension filters and bot-only mode for Carpet players.
- Configurable auto MSPT, scheduled profiles, sampling stride / heavy-tick modes, and noise floor in
config/sguprofiler.json.
Requirements
- Minecraft: 1.21.1, 1.21.4, 1.21.6–1.21.11 (incl. 1.21.10) — use the file
sguprofiler-<version>+mc<YOUR_MC>.jarthat matches your game. - Java 21+
- Fabric Loader (≥ 0.16.0; see project metadata)
- Fabric API for your MC version
Optional: Carpet — needed for profile … bot and Attack/Use splits; use a Carpet build compatible with your MC.
Quick start
- Install Fabric + Fabric API (matching MC).
- Drop the correct
+mc…jar inmods/. - You must be a vanilla operator, or be listed in
config/sguprofiler_command_whitelist.json(managed by OP / high-permission console). - In-game (root literal is case-sensitive):
/SGUProfiler profile start— full profile/SGUProfiler profile start overworld/nether/end/all— dimension filter/SGUProfiler profile start bot— Carpet fake-player actions only (with Carpet)/SGUProfiler profile stop— stop and print report
Report numbers are ms per sampled tick for each bucket — not the same thing as whole-server MSPT from F3; don’t treat row sums as “the server MSPT”.
Links
- Source / issues:
- Carpet:
- Fabric API:
License: MIT
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
下载 SGUProfiler
变更记录
[0.3.2] - 2026-05-13
- 命令改用
CommandRegistrationCallback注册 - 去掉命令管理器 Mixin,避免注册时机问题。
- 报告只输出滞后最高的 10 组「实体 × 维度」聚合。
- README 中、英更新(环境、权限、构建说明)。
支持 MC:1.21.1、1.21.4、1.21.6–1.21.11
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧