LagGoggles Legacy
将 TerminatorNL 的 LagGoggles 移植至 1.7.10 版本。
依赖项
原版描述:
直观地查找卡顿源!
LagGoggles 是一个分析器,你可以以可视化的方式查看游戏中的耗时情况。它配备了一个自定义 GUI,并使用可配置的热键。
玩家也可以使用 LagGoggles!这是我尝试让普通玩家理解服务器卡顿成因的一次努力。
我注意到一些常见的误解,例如“将机器分散在不同的区块中比将它们放在同一个区块中能减少更多卡顿”。
使用 LagGoggles,你可以环顾四周,发现许多小物件(如管道或电缆)在大多数时候都会造成微小的卡顿,这往往会导致比紧邻来源放置一台机器时更多的卡顿。
解释概念的视频
衷心感谢 Grok DuckFarmer 制作了这段视频。
功能
- 传送至卡顿源
- 客户端 GUI,包括覆盖层和可点击菜单
- 颜色刻度,便于快速定位卡顿源。
- 计算在客户端完成,因此每个客户端可以拥有不同的颜色刻度。
- 支持客户端 FPS 检测!
- 检查实体、方块实体和事件订阅者的渲染时间
- 该功能尚处于早期阶段,但应能提供一些关于可能导致 FPS 问题原因的见解。
- 客户端配置:
- 自定义渐变
- 色盲支持
- 服务端配置
- 为玩家(非 OP)设置自定义权限
配置
- 将 jar 文件放入 /mods 文件夹
- 服务端配置不是必需的,也没有任何效果。
- 客户端可以编辑配置文件以更改颜色刻度。
工作原理
实体、方块和事件订阅者在 tick() 和 update() 方法执行前后使用 System.nanotime() 进行计时。这些时间会被记录并在分析器完成后发送给客户端。
优势
- 可视化各种卡顿源
- 教导你的玩家建造无卡顿的基础设施。
LagGoggles Legacy
A backport of TerminatorNL's LagGoggles to 1.7.10.
Dependencies
Original description:
Intuitive lag hunting!
LagGoggles is a profiler where you can see timings in the world, visually. It comes with a custom GUI using a configurable keybind.
You can use LagGoggles as a player too! This is my attempt to create an understanding of what causes lag on a server to regular players.
I noticed some common misconceptions like having machines spread out over different chunks causes less lag than putting it in one chunk.
With LagGoggles, you can look around and see that alot of small things like pipes or cables cause a tiny bit of lag most of the time, often resulting in more lag than a machine right next to the source would.
Video explaining the concept
Massive thanks to Grok DuckFarmer for making this video.
Features
- Teleporting to sources of lag
- Client GUI, including overlay and clickable menus
- Colour scale for easy spotting of sources of lag.
- Calculations are done on the client, so each client can have a different colour scale.
- Clientside FPS support!
- Checks render time for Entities, Tile entities and event subscribers
- It's very young, but it should give some insight in what may cause FPS issues.
- Config for client:
- Custom gradients
- Colorblindess support
- Config for server
- Custom permissions for players (non-operators)
Configuration
- Drop the jar in the /mods folder
- Serverside configuration is not required and has no effect.
- Clients can edit the config to change the colour scale.
How it works
Entities, blocks and event-subscribers are timed using System.nanotime() before and after the tick() and update() methods. These times are being recorded and sent to the client when the profiler is done.
Benefits
- Visualisation of various sources of lag
- Learn your players to build lag-free bases.
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
下载 Lag Goggles: Legacy
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧