M0-Dev Tools
M0-Dev Tools 是一款面向 Minecraft 模组开发者、建筑玩家和技术型玩家的客户端 Fabric 工具箱。它将覆盖层、HUD(抬头显示)、移动辅助、宏、脚本、自动化和调试工具整合到一个模组中。
适用于 Minecraft 26.3(Java 25、Fabric Loader、Fabric API)的 2.1.0-BETA 版本。
部分模块(X-Ray、Freecam、Reach、Instant Break、Entity Radar)仅在服务器也安装了该模组并选择加入时才能正常工作。
免责声明
该项目最初是个人项目,我决定将其公开发布。它可能包含错误和未完成的功能,某些功能可能与特定服务器或其他模组不兼容。请自行承担使用风险。
每次更新都可能带来变化,我可能无法为所有问题提供支持。
2.1.0-BETA 新增内容
- 新工具:Chest Finder(
/finditem,其 GUI 中包含物品内容预览)、Freelook、Tick Controls、/glow 以及状态 HUD 元素(耐久度、效果、耐久度警报)。
- 改进:Redstone Timeline 冻结/步进、
/scanblocks、/math 变量和单位、SNBT/NBT/component 命令补全、Packet Inspector 带宽图表和 /packets stats、Module Browser 中的滑块设置、重新设计的脚本编辑器(支持最近文件和历史记录及更好的补全)。
- 安全性提升:慢聊天高亮规则被跳过而非导致游戏冻结,配置文件采用原子方式写入。
- 修复:共享引擎上的 JavaScript 脚本、
m0.print、在 26.3 版本的 SNBT 编辑器中输入问题。
请参阅版本更新日志以获取完整列表。
2.0.0-BETA 新增内容
- Minecraft 26.3。由 1.21.x 版本保存的宏和脚本键绑定会自动转换(会保留备份)。
- 全新的扁平化深色主题应用于所有界面,Macro Workbench 中侧边栏导航。
- 重新设计的 ClickHUD:滚动列表、开关、彩色设置值、按住重复按键,以及基于鼠标驱动的带有设置面板的 Module Browser。
- 模块状态、收藏和配置档案会在重启之间保存。
- 新工具:Redstone Timeline、Range Overlays、Debug Views、Portal Linker、Packet Inspector、Ruler、Farm Rate Meter、Placement Restriction、Chat Highlights、Quick Edit、摄像机路径录制、
//materials 等。
- 脚本编辑器升级为小型 IDE,支持异步脚本、脚本控制台以及 Macro Workbench 中的 Scripts 选项卡。
- 修复:中继器和比较器上的 Redstone Overlay 标签、Structure Bounding Boxes、Held Light 延迟、Freecam “Show Player Model”。
- 默认键位不再与原版 26.3 冲突。请参阅 Default keybindings。
请参阅版本更新日志以获取完整列表。
默认键位绑定
所有按键均可在“选项 → 控制 → 键位绑定”(类别为“M0-Dev Tools”)中更改。当按住 F3 时,模组热键会被忽略,因此原版 F3 调试快捷键绝不会触发它们。
| 操作 |
默认按键 |
| 打开 ClickHUD |
` (反引号 / 波浪号) |
| 打开 Module Browser |
N |
| 打开 Macro Manager / Workbench |
M |
| 打开 Macro Workbench (Canvas) |
K |
| 打开 Script Editor |
, (逗号) |
| 打开 Command History |
; (分号) |
| 打开 Message History |
' (撇号) |
| 切换 Secondary Chat |
Y |
| 打开 Entity Radar Screen |
R |
| 切换 Freecam |
U |
| 缩放(按住) |
Z |
| Freelook(按住) |
Left Alt |
| 切换 Fullbright |
J |
| 切换 Xray |
] |
| 打开 Xray Menu |
[ |
| 切换 Block Inspector |
F10 |
| 切换 Watson CoreProtect |
. (句号) |
默认未绑定的按键(如果使用请自行绑定):Redstone / Light / Slime Chunk / Biome Border / Command Block 覆盖层切换、Redstone BUD 顺序、航点添加/列表/GUI/渲染切换、快速向上/向下/向前/向左/向右传送、Freecam 控制玩家/保存位置/下一个位置、Ruler 标记点、Packet Inspector、Tick 冻结/步进/减速、Chest finder 搜索、循环切换放置限制、下一个模块配置档案、Macro Workbench(Keyboard 选项卡)以及 Better Command Block UI 区域选择。
功能概览
模块菜单、收藏和配置档案
- ClickHUD (
`) - 绘制在游戏上方的键盘菜单,使其打开时你仍可继续移动
- 三列布局显示分类、模块和设置,每类显示开启/总数统计
- 箭头键移动(按住可重复),PgUp/PgDn/Home/End 跳转,右键查看设置,Enter 切换或应用
- 长列表支持滚动;每个分类都会记住你上次的位置
- 右键 Shift 可将模块设为星标;收藏模块拥有独立分类
- Module Browser (
N) - 按名称、ID 或分类搜索所有模块,点击即可切换,并通过鼠标更改设置(数字设置是支持拖动、滚动或输入的滑块)。从 ClickHUD 打开时,默认选中高亮的模块
- 已保存状态 - 模块的开启/关闭状态和设置在重启之间会被记住,并在加入世界时恢复。需要服务器选择加入的模块永远不会自动开启
- 配置档案 -
/m0profile save|load|list <name>、/m0profile next(也可通过键位绑定触发)
视觉覆盖层与检查器
- 光照层级叠加 - 方块上的光照等级,带有“生成点”模式(红色 = 怪物随时可生成,黄色 = 仅在夜间可生成)
- 红石能量叠加 - 导线能量、中继器延迟(及锁定状态)、比较器输出与模式、火把及通电状态。组件标签悬浮于方块上方并面向玩家,以保持可读性
- 红石更新顺序 / BUD 叠加 - 显示红石 dust 的更新顺序
- 红石时间线 - 用于你的装置的逻辑分析仪(见 Redstone Timeline)
- 史莱姆区块叠加 - 高亮显示史莱姆区块(单人游戏,需要种子数据)
- 生物群系边界叠加 - 生物群系边界
- 区块边界叠加 - 区块边界,以及区域文件边界和你当前所在的
r.X.Z.mca 文件
- 结构边界框 - 勾勒村庄、神殿、矿洞、要塞等结构的轮廓,并显示其组成部分和名称标签(仅限单人游戏:服务器不发送结构数据)
- 范围叠加 - 信标和引导灵通的范围、生成区块(
/ranges spawnradius <n>)、128 格随机刻环以及 24/32/128 格的怪物生成/消失球体。/ranges pin 可将环固定在你的 AFK 位置
- 调试视图 - 碰撞形状与穿墙轮廓对比、高度图、带每种类型计数的方块实体及最繁忙的区块、带流动箭头的流体液位(
/debugview <collision|heightmaps|blockentities|fluids> [on|off])
- 传送门链接器 - 记录你使用过的下界传送门,显示你当前站立的传送门的去向,并在返回路径指向不同传送门时发出警告(
/portal, /portal forget)
- 命令方块叠加 - 世界中的命令方块内容
- 方块检查器 / WAILA 风格方块文本 - 你所查看方块的详细信息
- NBT 信息 HUD、NBT 工具提示、潜影盒预览工具提示
- 实体雷达 / 实体列表 和 实体生命条
- 物品拾取通知器
- 怪物掉落追踪器 (
/mobdrops) - 击杀数、每分钟掉落物数量、独特物品
- 怪物 AI 可视化 (
/mobai) - 当前目标、目标和路径
建造、移动与实用工具
- Xray - 透过墙壁查看选定的方块(需服务器允许)
- 即时破坏、快速放置方块、距离增加(在需要的地方需服务器允许)
- 放置限制 - 按住右键时,方块仅能放置在由第一个方块设定的
plane(平面)、face(面)、column(柱)或 line(线)上(/placement <mode|off> 或按键绑定)
- 尺子 - 标记两个方块以查看尺寸、方块数量、面积和距离(
/ruler mark 或按键绑定)
- 农场速率计 -
/farmrate start [radius|selection] 统计区域内出现的物品数量,/farmrate inventory 统计你拾取的物品;包含总数、每小时产量、最近 5 分钟产量,/farmrate copy 用于导出 CSV
- 背包移动、Mouse Tweaks 风格控制、搭路微调(吸附、火把放置、台阶辅助、可替换目标)
- 全亮、手持光源(来自手持火把、灯笼等的动态光源)、缩放
- 自由视角 - 按住左 Alt 使相机围绕玩家旋转,同时保持视线和行走方向不变(按住或切换)
- 箱子查找器 - 记录你打开过的每个容器内的物品(按世界和维度区分,包括潜影盒内容)。
/finditem <item> 告诉你物品的位置,并通过箭头高亮显示穿过墙壁的最近容器;/finditem gui 或按键绑定打开一个可搜索的所有存储物品的网格
- 刻控制 - 用于原版
/tick freeze、/tick step 和更慢刻率的按键,冻结时在 HUD 上显示徽章(需要 /tick 权限)
- 自由摄像机 - 将摄像机移离你的身体
- 你的玩家模型保持可见(“显示玩家模型”)
- “控制玩家”可在摄像机不动的情况下移动你的玩家
- 按世界保存摄像机位置(
/freecam save [1-9], /freecam go <1-9>, /freecam list)以及 /freecam speed <x>
- 可选在受到伤害时关闭
- 摄像机路径 -
/camera 关键帧和播放;/camera record [seconds] 将飞行过程转化为路径
- 航点 - 光束、
/waypoint track <id|nearest|off> HUD 箭头、在下界中显示主世界的航点(÷8)及反向,按服务器或世界保存
- 快速传送 - 用于向上/向下/向前/向侧面跳跃的按键绑定;
/top、/up、/asc、/desc、/thru、/jumpto
- 饥饿微调、HUD 微调、动态 FPS(窗口未聚焦时降低帧率)
- WorldEdit 辅助 - 客户端选择命令(
//pos1、//set、//replace、//stack 等),以及 //materials 统计选区内每种方块的数量(包括堆叠和潜影盒;//materials copy 用于导出 CSV)
聊天与工作流辅助
- 二级聊天 - 附加或替代渲染模式、可拖动的多窗口聊天、带每标签正则路由的标签页、未读指示器、时间戳、紧凑重复消息、消息选择和复制
- 聊天高亮 -
/highlight add <color> <word> 或 /highlight addregex <color> <regex> 对匹配文本着色,/highlight sound <n> 添加提示音;{me} 匹配你的名字
- 命令历史 - 浏览和重新运行之前的命令;在聊天中按 Ctrl+R 进行模糊搜索(再次按 Ctrl+R 查看更早的命令,Ctrl+Shift+R 查看更新的命令)
- 消息历史 和更长的聊天历史
- Better Command Block UI - 改进的命令方块编辑器
- UI 实用工具 - 发送/延迟数据包、保存/恢复 GUI 状态、去同步屏幕、无需数据包关闭窗口、复制 GUI 标题 JSON、GUI 内命令输入
- 数据包检查器 -
/packets 浏览发送和接收的数据包,带有过滤器、大小和入/出带宽图表;/packets top 用于计数,/packets stats 用于带宽,/packets pin <name> 每秒绘制一种类型的图表,/packets export 保存日志
Redstone Timeline
/rstimeline start [radius](或“Record here”)逐刻记录你周围所有的红石组件
/rstimeline 打开逻辑分析仪视图
- 每行代表一个组件,时间轴从左到右为游戏刻
- 悬停查看信号强度和脉冲长度
- 点击设置标记,该标记会自动吸附到信号边缘;光标到标记的跨度以游戏刻和红石刻为单位测量
- 拖拽或使用箭头平移,Ctrl+滚轮或 +/- 缩放
- Copy 将整个录制内容作为 CSV 复制到剪贴板
- 录制期间,录制的区域和被监控的组件会在世界中以轮廓线标出
- Freeze / Step / Freeze on change 按钮驱动原版
/tick:启用“Freeze on change”后,游戏会在下一个信号变化时冻结,然后逐刻步进
- 在 HUD 画布上添加 Redstone Timeline 元素,以便在游戏过程中实时观察最繁忙的组件
- 它读取客户端所见的内容,因此 0 刻脉冲不会显示
宏、HUD 画布、脚本与自动化
- Macro manager / workbench (
M) - 支持按键绑定的宏、键盘布局视图、Scripts 标签页和自动化规则
- HUD canvas (
K) - 使用按钮、文本、宏列表、图标、条形图、数值、列表、物品栏视图、形状、状态徽章、红石时间线和状态小部件(盔甲/手持耐久度、效果计时器、低耐久度警报),以及可移动和缩放的 vanilla HUD 元素构建你自己的 HUD。支持图层、锚点、预设和实时预览
- Placeholders - 动态值(
{player.x}、指南针箭头、目标信息等...),带有提供程序扩展点
- Scripts 支持 Groovy (
.groovy)、Kotlin (.kts) 和 JavaScript (.js)
- 可通过
/runscript <file>、按键绑定、HUD 按钮或自动化规则运行
- 脚本在游戏线程上运行,限制时间为 5 秒;
// @async on 可在后台运行(限制时间为 2 分钟)。使用 /runscript stop 和 /runscript running
- 每个脚本都获得一个
m0 辅助对象:print、message、actionbar、chat、command、placeholders、macro、sleep、sync、checkCancelled
- Script editor (
,) - 小型 IDE
- 支持标签页、查找/替换、跳转到行或符号、注释、复制和移动行
- 自动闭合括号、语法高亮及问题标记
- 代码片段 (Ctrl+J)、格式化 (Ctrl+Shift+F)、控制台标签页、F5 运行 / Shift+F5 停止
- Ctrl+E 最近文件;
m0 和游戏对象的补全提示包含参数名称
- Automation engine (
/automation)
- 事件触发器(聊天、死亡、生命值、天气、等级、加入/离开世界...)、条件和操作(命令、脚本、宏、模块开关、显示消息)
- 支持带捕获组的正则表达式(
{event.group1})
/automation test 解释规则是否会被触发;/automation template 列出现成的规则
- 支持文件夹,并通过剪贴板导出/导入
- Action runner (
/actionrunner) - 队列化的使用/攻击/潜行/跳跃/丢弃/交换/槽位操作和命令,支持延迟
调试与管理工具
/draw - 绘制线条、方框、圆形、圆柱体、球体和选择轮廓,并在 UI 中保存和管理
/getdata - 方块和实体 NBT 检查器和编辑器,带有数据浏览器。Quick Edit (/getdata quick) 可更改实体的名称、生命值和标志,或方块的状态属性,并首先显示确切的 /data / /setblock 命令。SNBT 编辑器支持撤销/重做、格式化、括号匹配、行号和错误位置
/itemdata - 物品组件检查器和编辑器,带有元数据、类型提示和模板;Save 在发送前显示所做的更改,并支持撤销
- Watson / CoreProtect tracker (
/watson) - CoreProtect 查询的 Watson 风格可视化,带有追踪器、向量、TTL、搜索和传送辅助功能
- Block scanner (
/scanblocks <radius> [block]) - 统计方块数量;指定方块时,会标出所有匹配的方块并指向最近的一个
- Math (
/math) - 表达式、变量(x = 5*64、ans、px py pz)和 Minecraft 单位:/math 3000 in stacks、/math 1200 ticks in s、/math px in nether
/glow <type|hostile|passive|items|players|all> [color] - 客户端实体的发光轮廓
- Command completion 支持
/summon 和 /data 中的 SNBT(键和值)、NBT 路径以及物品组件值
- 占位符测试器 (
/parseplaceholder)
Tweaks 模块
- Particles:隐藏自己的效果粒子,禁用破坏方块粒子
- Rendering:隐藏副手物品,隐藏实体
- Environment:禁用下界雾、雨效果和渲染距离雾
- Audio:禁用声音
- Movement:禁用贴墙冲刺、天使方块放置、永久潜行和冲刺
- Camera:禁用受伤震动和视角晃动
脚本示例
按 ,(默认)打开脚本编辑器。
Groovy:给自己一个新手包(单人游戏)
import net.minecraft.world.item.ItemStack
import net.minecraft.world.item.Items
player.addItem(new ItemStack(Items.DIAMOND_SWORD))
player.addItem(new ItemStack(Items.BREAD, 16))
"Gave you a starter kit!"
Kotlin:在玩家周围生成粒子
import net.minecraft.core.particles.ParticleTypes
import kotlin.math.cos
import kotlin.math.sin
for (i in 0 until 24) {
val angle = Math.toRadians(i * (360.0 / 24))
val x = player.getX() + cos(angle) * 1.5
val y = player.getY() + 1.0
val z = player.getZ() + sin(angle) * 1.5
world.addParticle(ParticleTypes.HAPPY_VILLAGER, x, y, z, 0.0, 0.03, 0.0)
}
"Spawned"
JavaScript:报告你的位置
m0.message("You are at " + m0.placeholders("{player.x} {player.y} {player.z}"));
"Done";
更多示例(每种语言都有 Groovy、Kotlin 和 JavaScript 版本)位于模组 jar 包内的 example_scripts/ 目录下。将你自己的脚本放入 config/m0-dev-tools/scripts。
M0-Dev Tools
M0-Dev Tools is a client-side Fabric toolbox for Minecraft modders, builders, and technical players. It bundles overlays, HUDs, movement helpers, macros, scripting, automation, and debugging tools into one mod.
Version 2.1.0-BETA for Minecraft 26.3 (Java 25, Fabric Loader, Fabric API).
Some modules (X-Ray, Freecam, Reach, Instant Break, Entity Radar) only work when the server also has the mod installed and opts in.
Disclaimer
This started as a personal project and I decided to release it publicly. It may contain bugs and unfinished features, and some features may not work with certain servers or other mods. Use at your own risk.
Things can change with any update, and I may not be able to provide support for every issue.
What's new in 2.1.0-BETA
- New tools: Chest Finder (
/finditem, with a contents preview in its GUI), Freelook, Tick Controls, /glow, and a Status HUD element (durability, effects, durability alert).
- Improvements: Redstone Timeline freeze/step,
/scanblocks, /math variables and units, SNBT/NBT/component command completion, Packet Inspector bandwidth graphs and /packets stats, slider settings in the Module Browser, restyled script editor with recent files and better completions.
- Safer: slow chat highlight rules are skipped instead of freezing the game, and config files are written atomically.
- Fixes: JavaScript scripts on the shared engine,
m0.print, typing in the SNBT editor on 26.3.
See version changelog for the full list.
What's new in 2.0.0-BETA
- Minecraft 26.3. Macros and script key bindings saved by 1.21.x versions are converted automatically (a backup is kept).
- New flat dark theme across every screen, with sidebar navigation in the Macro Workbench.
- Redesigned ClickHUD: scrolling lists, switches, coloured setting values, hold-to-repeat keys, and a mouse-driven Module Browser with a settings panel.
- Module states, favourites and profiles are saved between launches.
- New tools: Redstone Timeline, Range Overlays, Debug Views, Portal Linker, Packet Inspector, Ruler, Farm Rate Meter, Placement Restriction, Chat Highlights, Quick Edit, camera path recording,
//materials and more.
- Script editor upgraded to a small IDE, plus async scripts, a script console and a Scripts tab in the Macro Workbench.
- Fixes: Redstone Overlay labels on repeaters and comparators, Structure Bounding Boxes, Held Light lag, Freecam "Show Player Model".
- Default keys no longer clash with vanilla 26.3. See Default keybindings.
See version changelog for the full list.
Default keybindings
All keys can be changed in Options → Controls → Key Binds (category "M0-Dev Tools"). Mod hotkeys are ignored while F3 is held, so vanilla F3 debug shortcuts never trigger them.
| Action |
Default key |
| Open ClickHUD |
` (grave / tilde) |
| Open Module Browser |
N |
| Open Macro Manager / Workbench |
M |
| Open Macro Workbench (Canvas) |
K |
| Open Script Editor |
, (comma) |
| Open Command History |
; (semicolon) |
| Open Message History |
' (apostrophe) |
| Toggle Secondary Chat |
Y |
| Open Entity Radar Screen |
R |
| Toggle Freecam |
U |
| Zoom (hold) |
Z |
| Freelook (hold) |
Left Alt |
| Toggle Fullbright |
J |
| Toggle Xray |
] |
| Open Xray Menu |
[ |
| Toggle Block Inspector |
F10 |
| Toggle Watson CoreProtect |
. (period) |
Unbound by default (bind them if you use them): Redstone / Light / Slime Chunk / Biome Border / Command Block overlay toggles, Redstone BUD order, waypoint add/list/GUI/render toggle, quick teleport up/down/forward/left/right, Freecam control player / save spot / next spot, Ruler mark point, Packet Inspector, Tick freeze / step / slower, Chest finder search, cycle placement restriction, next module profile, Macro Workbench (Keyboard tab), and Better Command Block UI area selection.
Feature overview
Module menus, favourites and profiles
- ClickHUD (
`) - keyboard menu drawn over the game, so you can keep moving while it is open
- Categories, modules and settings in three columns, with on/total counts per category
- Arrows to move (hold to repeat), PgUp/PgDn/Home/End to jump, Right for settings, Enter to toggle or apply
- Long lists scroll; each category remembers where you were
- Right Shift stars a module; favourites get their own category
- Module Browser (
N) - search every module by name, id or category, toggle with a click, and change settings with the mouse (number settings are sliders you can drag, scroll or type into). Opened from ClickHUD it starts on the highlighted module
- Saved state - module on/off states and settings are remembered between launches and restored when you join a world. Modules that need server opt-in are never switched on automatically
- Profiles -
/m0profile save|load|list <name>, /m0profile next (also a keybind)
Visual overlays & inspectors
- Light level overlay - light levels on blocks, with a "Spawn spots" mode (red = mobs can spawn any time, yellow = only at night)
- Redstone power overlay - wire power, repeater delay (and lock), comparator output and mode, torch and powered states. Component labels float above the block and face you, so they stay readable
- Redstone update order / BUD overlay - shows the order of redstone dust updates
- Redstone Timeline - logic-analyser for your contraptions (see Redstone Timeline)
- Slime chunk overlay - highlights slime chunks (singleplayer, needs the seed)
- Biome border overlay - biome boundaries
- Chunk border overlay - chunk borders, plus region file borders and which
r.X.Z.mca you're in
- Structure bounding boxes - outlines villages, monuments, mineshafts, strongholds and more, with their pieces and name labels (singleplayer only: servers don't send structure data)
- Range overlays - beacon and conduit reach, spawn chunks (
/ranges spawnradius <n>), the 128-block random-tick ring and the 24/32/128 mob spawn/despawn spheres. /ranges pin keeps the rings at your AFK spot
- Debug views - collision shapes vs. walk-through outlines, heightmaps, block entities with counts per type and the busiest chunk, fluid levels with flow arrows (
/debugview <collision|heightmaps|blockentities|fluids> [on|off])
- Portal linker - remembers nether portals you use, shows where the portal you stand in leads, and warns when the way back ends at a different portal (
/portal, /portal forget)
- Command block overlay - command block contents in the world
- Block inspector / WAILA-style block text - details of the block you look at
- NBT info HUD, NBT tooltips, shulker preview tooltips
- Entity radar / entity list and entity health bars
- Item pickup notifier
- Mob drops tracker (
/mobdrops) - kills, items per minute, unique items
- Mob AI visualizer (
/mobai) - active goals, targets and paths
Building, movement & utility tools
- Xray - selected blocks through walls (server opt-in)
- Instant break, fast block placement, reach (server opt-in where needed)
- Placement restriction - while holding right-click, blocks only go on the
plane, face, column or line set by the first block (/placement <mode|off> or a keybind)
- Ruler - mark two blocks to see size, block count, area and distance (
/ruler mark or a keybind)
- Farm rate meter -
/farmrate start [radius|selection] counts items appearing in a zone, /farmrate inventory counts what you pick up; totals, items per hour, last 5 minutes, /farmrate copy for CSV
- Inventory move, Mouse Tweaks-style controls, bridging tweaks (snapping, torch placement, slab assist, replaceable targets)
- Fullbright, held light (dynamic light from held torches, lanterns, ...), zoom
- Freelook - hold Left Alt to orbit the camera around your player while it keeps looking and walking the same way (hold or toggle)
- Chest finder - remembers what's in every container you open (per world and dimension, shulker box contents included).
/finditem <item> tells you where it is and highlights the containers through walls with an arrow to the nearest; /finditem gui or a keybind opens a searchable grid of everything you've stored
- Tick controls - keys for vanilla
/tick freeze, /tick step and slower tick rates, with a HUD badge while frozen (needs /tick permission)
- Freecam - move the camera away from your body
- Your player stays visible ("Show Player Model")
- "Control player" moves your player while the camera stays put
- Saved camera spots per world (
/freecam save [1-9], /freecam go <1-9>, /freecam list) and /freecam speed <x>
- Optionally turns off when you take damage
- Camera paths -
/camera keyframes and playback; /camera record [seconds] turns a flight into a path
- Waypoints - beams,
/waypoint track <id|nearest|off> HUD arrow, overworld waypoints shown in the nether (÷8) and back, saved per server or world
- Quick teleport - keybinds to hop up/down/forward/sideways;
/top, /up, /asc, /desc, /thru, /jumpto
- Hunger tweaks, HUD tweaks, Dynamic FPS (lower frame rate when the window isn't focused)
- WorldEdit helpers - client selection commands (
//pos1, //set, //replace, //stack, ...), and //materials counts every block type in the selection (with stacks and shulkers; //materials copy for CSV)
Chat & workflow helpers
- Secondary chat - addon or replacement render modes, draggable multi-window chat, tabs with per-tab regex routing, unread indicators, timestamps, compact repeated messages, message selection and copying
- Chat highlights -
/highlight add <color> <word> or /highlight addregex <color> <regex> colours matching text, /highlight sound <n> adds a ping; {me} matches your name
- Command history - browse and rerun earlier commands; in chat press Ctrl+R to fuzzy-search them (Ctrl+R again for older, Ctrl+Shift+R for newer)
- Message history and longer chat history
- Better Command Block UI - improved command block editor
- UI utilities - send/delay packets, save/restore GUI state, de-sync screens, close windows without packets, copy GUI title JSON, in-GUI command input
- Packet inspector -
/packets browses sent and received packets with filters, sizes and in/out bandwidth graphs; /packets top for counts, /packets stats for bandwidth, /packets pin <name> graphs one type per second, /packets export saves a log
Redstone Timeline
/rstimeline start [radius] (or "Record here") records every redstone component around you, tick by tick
/rstimeline opens a logic-analyser view
- One row per component, game ticks left to right
- Hover for signal strength and pulse length
- Click to set a mark that snaps to signal edges; the span to the cursor is measured in game and redstone ticks
- Drag or arrows to pan, Ctrl+scroll or +/- to zoom
- Copy puts the whole recording on the clipboard as CSV
- The recorded area and the watched components are outlined in the world while recording
- Freeze / Step / Freeze on change buttons drive vanilla
/tick: arm "Freeze on change" and the game freezes on the next signal change, then step through it tick by tick
- Add a Redstone Timeline element to the HUD canvas to watch the busiest components live while you play
- It reads what the client sees, so 0-tick pulses don't show
Macros, HUD canvas, scripting & automation
- Macro manager / workbench (
M) - macros with key bindings, a keyboard layout view, a Scripts tab and automation rules
- HUD canvas (
K) - build your own HUD from buttons, text, macro lists, icons, bars, values, lists, inventory views, shapes, state badges, the redstone timeline and status widgets (armor/held durability, effect timers, low-durability alert), plus vanilla HUD elements you can move and scale. Supports layers, anchors, presets and live previews
- Placeholders - dynamic values (
{player.x}, compass arrows, target info, ...) with provider extension points
- Scripts in Groovy (
.groovy), Kotlin (.kts) and JavaScript (.js)
- Run with
/runscript <file>, a keybind, a HUD button or an automation rule
- Scripts run on the game thread with a 5 s limit;
// @async on runs one in the background (2 min limit). /runscript stop and /runscript running
- Every script gets an
m0 helper: print, message, actionbar, chat, command, placeholders, macro, sleep, sync, checkCancelled
- Script editor (
,) - a small IDE
- Tabs, find/replace, go to line or symbol, comment, duplicate and move lines
- Auto-closing brackets, syntax highlighting with problem markers
- Snippets (Ctrl+J), formatting (Ctrl+Shift+F), a console tab, F5 run / Shift+F5 stop
- Ctrl+E recent files; completions for
m0 and game objects with parameter names
- Automation engine (
/automation)
- Event triggers (chat, death, health, weather, level, world join/leave, ...), conditions, and actions (commands, scripts, macros, module toggles, show-message)
- Regex with capture groups (
{event.group1})
/automation test explains whether a rule would fire; /automation template lists ready-made rules
- Folders, and export/import via the clipboard
- Action runner (
/actionrunner) - queued use/attack/sneak/jump/drop/swap/slot actions and commands with delays
Debugging & admin tools
/draw - lines, boxes, circles, cylinders, spheres and selection outlines, saved and managed in a UI
/getdata - block and entity NBT inspector and editor with a data browser. Quick Edit (/getdata quick) changes an entity's name, health and flags or a block's state properties, and shows the exact /data / /setblock commands first. The SNBT editor has undo/redo, formatting, bracket matching, line numbers and error locations
/itemdata - item component inspector and editor with metadata, type hints and templates; Save shows what changed before sending, with undo
- Watson / CoreProtect tracker (
/watson) - Watson-style visualisation of CoreProtect lookups with tracers, vectors, TTL, search and teleport helpers
- Block scanner (
/scanblocks <radius> [block]) - counts blocks; with a block it outlines every match and points to the nearest
- Math (
/math) - expressions, variables (x = 5*64, ans, px py pz) and Minecraft units: /math 3000 in stacks, /math 1200 ticks in s, /math px in nether
/glow <type|hostile|passive|items|players|all> [color] - client-side glowing outlines on entities
- Command completion for SNBT in
/summon and /data (keys and values), NBT paths, and item component values
- Placeholder tester (
/parseplaceholder)
Tweaks module
- Particles: hide own effect particles, disable block-breaking particles
- Rendering: hide offhand item, hide entities
- Environment: disable nether fog, rain effects and render-distance fog
- Audio: disable sounds
- Movement: disable wall-unsprint, angel block placement, permanent sneak and sprint
- Camera: disable hurt shake and view bobbing
Scripting examples
Open the script editor with , (default).
Groovy: give yourself a starter kit (singleplayer)
import net.minecraft.world.item.ItemStack
import net.minecraft.world.item.Items
player.addItem(new ItemStack(Items.DIAMOND_SWORD))
player.addItem(new ItemStack(Items.BREAD, 16))
"Gave you a starter kit!"
Kotlin: spawn particles around the player
import net.minecraft.core.particles.ParticleTypes
import kotlin.math.cos
import kotlin.math.sin
for (i in 0 until 24) {
val angle = Math.toRadians(i * (360.0 / 24))
val x = player.getX() + cos(angle) * 1.5
val y = player.getY() + 1.0
val z = player.getZ() + sin(angle) * 1.5
world.addParticle(ParticleTypes.HAPPY_VILLAGER, x, y, z, 0.0, 0.03, 0.0)
}
"Spawned"
JavaScript: report your position
m0.message("You are at " + m0.placeholders("{player.x} {player.y} {player.z}"));
"Done";
More examples (Groovy, Kotlin and JavaScript versions of each) are in the mod jar under example_scripts/. Put your own scripts in config/m0-dev-tools/scripts.
评论 0
登录后参与评分
还没有评论,来抢沙发吧