跳到正文

Chunk Border Redstone Highlighter

作者:Scainest

A client-side performance debugging tool that highlights redstone components sitting on chunk borders — the #1 cause of server lag. Toggle with one keypress (O).

收藏

截图

介绍

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

Chunk Border Redstone Highlighter

One of the biggest causes of lag on high-performance servers: redstone circuits placed across chunk borders. This client-side mod highlights those risky blocks around you with a red wireframe box, letting you spot chunk-boundary issues before they hurt your TPS.

Why Are Chunk-Border Redstone Components Bad?

Minecraft splits the world into 16×16 chunks. Each chunk is loaded, saved, and ticked independently. When a redstone signal crosses a chunk boundary:

  • Both chunks need to be updated every tick
  • Observers, pistons, and hoppers trigger extra chunk load/save cycles
  • Paper, Purpur, and Folia suffer the most because of their async chunk systems
  • Synchronization locks are held across the boundary on async chunk implementations

Features

  • One-key toggle — default O (rebindable in Options > Controls)
  • 32-block radius scan around the player — finds every risky block nearby
  • Smart boundary detection — uses localX == 0 || localX == 15 || localZ == 0 || localZ == 15 math (works correctly on negative coordinates too)
  • Detected blocks:
  • Redstone
  • Repeater
  • Comparator
  • Observer
  • Piston (normal + sticky)
  • Hopper
  • Minimal performance impact — scans every 10 ticks, only inspects border columns
  • Uses 1.21.11’s new Gizmo render API — clean, bug-free rendering
  • No server-side install needed — client-only, works on any server

Usage

  1. Download this mod and Fabric API
  2. Drop both into your .minecraft/mods/ folder
  3. Join a world or server
  4. Press O — nearby chunk-border redstone components get wrapped in a red wireframe
  5. Press O again to disable

Compatibility

| Feature | Support |
|———|———|
| Minecraft | 1.21.11 |
| Mod Loader | Fabric (Loader 0.18.0+) |
| Fabric API | Required |
| Java | 21+ |
| Side | Client-only |

Untested

  • Quilt: Not tested, but should work since Quilt supports Fabric mods
  • Forge/NeoForge: Not supported

常见问题

Chunk Border Redstone Highlighter 支持哪些 Minecraft 版本?

Chunk Border Redstone Highlighter 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Chunk Border Redstone Highlighter 怎么安装?

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

评论

登录后评论和评分

Scainest 的其他作品

查看全部 →