My Bot Mod(我的机器人)
一款面向 Minecraft 1.20–1.21.4 (Fabric) 的 Carpet 风格假人(bot)模组。生成行为如玩家的机器人,指挥它们执行任务,利用智能寻路发送指令,并可选择在登出后将其保留在世界中。同一个代码库可构建适用于所有七个受支持 Minecraft 版本的版本。
机器人通过原版的 placeNewPlayer 路径注册,因此计分板、传送以及其他原版玩家逻辑均可正常对其生效。完全双语支持——每条消息和 GUI 文本均提供英文与简体中文。
功能特性
- 生成、移除和控制假人
- 全面动作控制:攻击、使用、移动、跳跃、潜行、疾跑、看向、丢弃、切换手持物品、骑乘
- Command Baton(指令棒)——一种可制作的物品,带有屏幕 HUD。Ctrl+滚轮切换模式;右键某处以向选中的机器人发送寻路或传送指令
- 智能寻路:基于迭代/节点上限的单次 A* 算法,包含宽度感知路径平滑、游泳、跨沟壑、危险规避及卡住处理
- 行为脚本——通过类 Scratch 的 Blockly 编辑器为机器人编程(支持离线 HTML 编辑器或游戏内编辑器)。拥有 100+ 个积木块,支持多行为播放列表,数据可导出为 txt/JSON/CSV
- 右键点击机器人打开其面板:查看物品栏、末影箱、游戏模式、传送、删除,以及每个机器人的设置(7 种三态覆盖选项)
- 皮肤加载优先级从高到低依次为:Mojang API → 本地 PNG → Base64 编码 → 默认皮肤
- 可选持久化:离开世界后机器人仍保留在原处,且其所在区块在各维度间保持加载状态
- 三种配置方式——游戏内 GUI(B 键)、
/botmod config 命令,或 JSON 配置文件
行为编辑器(editor.zip)
离线 Blockly 行为编辑器为可选单独下载组件——请在此获取:
下载 editor.zip(直链,约 277 KB)
该文件也附带于每个 1.3.3 版本条目中——打开任意版本页面,查看 Files → Additional files 部分即可找到。
将其解压至任意位置,在浏览器中打开 editor/behavior-editor.html(完全离线),使用 100+ 个类 Scratch 积木块构建行为,将生成的 .json 文件保存至 .minecraft/config/my-bot-mod/behaviors/,随后在游戏中为其分配给某个机器人。自 v1.3.3 起,游戏内也内置了编辑器(右键机器人 → Behavior Management → New Behavior),因此 HTML 编辑器变为完全可选。
安装
选择与你的 Minecraft 版本匹配的 JAR 文件——文件名后缀会提示你应选用哪一个:
| 文件后缀 |
Minecraft |
Java |
+1.20.1 |
1.20 – 1.20.1 |
17+ |
+1.20.2 |
1.20.2 |
17+ |
+1.20.4 |
1.20.3 – 1.20.4 |
17+ |
+1.20.6 |
1.20.5 – 1.20.6 |
21+ |
+1.21.1 |
1.21 – 1.21.1 |
21+ |
+1.21.3 |
1.21.2 – 1.21.3 |
21+ |
+1.21.4 |
1.21.4 |
21+ |
需要 Fabric Loader 0.19.2+、Fabric API 和 Java 17+(1.20.5 及以上版本需 Java 21+)。支持单人游戏和服务器(两端均需安装)。
链接
源代码与发布版本 (GitHub) · 指令 · 行为 · 配置 · 常见问题
简体中文
一款类似 Carpet Mod 的假人模组,适用于 Minecraft 1.20–1.21.4 Fabric。可以召唤表现如普通玩家的假人、指挥它们执行操作、通过寻路将它们派往远处,退出世界后还可选择将假人保留在世界中。单个代码库同时构建七个游戏版本。
假人通过原版 placeNewPlayer 流程注册,计分板、传送等原版玩家逻辑对其正常生效。所有消息和界面文本均提供中英文。
功能
- 创建、删除、控制假人
- 动作控制:攻击、使用物品、移动、跳跃、潜行、疾跑、视角切换、丢弃物品、换手持物品、骑乘
- 指挥棒:由两根木棍合成,手持时显示 HUD。Ctrl+滚轮切换模式,右键某处使选中的假人寻路或传送至该位置
- 寻路:一次性 A* 搜索(迭代次数/节点数设有硬性上限),具备宽度感知路径平滑、游泳、跨越裂谷、危险规避及卡住处理功能
- 行为脚本:类 Scratch 的 Blockly 编辑器(支持离线 HTML 编辑器或游戏内编辑器),拥有 100+ 积木块;支持在游戏内分配播放列表,数据可导出为 txt/JSON/CSV 格式
- 右键假人打开面板:背包、末影箱、游戏模式、传送、删除,以及每项假人独有的 7 项三态个人设置
- 皮肤加载按 Mojang API、本地 PNG、Base64、默认皮肤的顺序进行回退
- 可选驻留:退出世界后假人得以保留,所在区块跨维度保持加载状态
- 配置方式三选一:游戏内界面(B 键)、
/botmod config 命令、JSON 文件
行为编辑器(editor.zip)
离线 Blockly 行为编辑器是可选的独立下载,在此获取:
点击下载 editor.zip(直链,约 277 KB)
它同时也附带在每个 1.3.3 版本条目下——打开任意版本页面,在 Files → Additional files 中即可找到。
解压至任意位置,用浏览器打开 editor/behavior-editor.html(完全离线),使用 100+ 类 Scratch 积木编排行为,将保存的 .json 文件放入 .minecraft/config/my-bot-mod/behaviors/,随后在游戏中分配给假人。从 v1.3.3 起也提供了游戏内编辑器(右键假人 → 行为管理 → 新建行为),HTML 编辑器为完全可选。
安装
根据游戏版本选择对应的 JAR 文件,文件名后缀标明了适用范围:
| 文件后缀 |
Minecraft |
Java |
+1.20.1 |
1.20 – 1.20.1 |
17+ |
+1.20.2 |
1.20.2 |
17+ |
+1.20.4 |
1.20.3 – 1.20.4 |
17+ |
+1.20.6 |
1.20.5 – 1.20.6 |
21+ |
+1.21.1 |
1.21 – 1.21.1 |
21+ |
+1.21.3 |
1.21.2 – 1.21.3 |
21+ |
+1.21.4 |
1.21.4 |
21+ |
需要 Fabric Loader 0.19.2+、Fabric API 和 Java 17+(1.20.5 及以上版本需 Java 21+)。支持单人游戏和服务器(两端均需安装)。
链接
源码与发布(GitHub) · 命令参考 · 行为系统 · 配置指南 · 常见问题
My Bot Mod (我的机器人)
A Carpet-style fake player (bot) mod for Minecraft 1.20–1.21.4 (Fabric). Spawn bots that behave like players, tell them what to do, send them off with smart pathfinding, and optionally keep them in the world after you log off. One codebase builds for all seven supported Minecraft versions.
Bots are registered through the vanilla placeNewPlayer path, so scoreboards, teleporting and other vanilla player logic work on them as usual. Fully bilingual — every message and GUI text comes in English and 简体中文.
Features
- Spawn, remove and control fake players
- Full action control: attack, use, move, jump, sneak, sprint, look, drop, swap hands, ride
- Command Baton — a craftable item with an on-screen HUD. Ctrl+Scroll switches modes; right-click somewhere to send the selected bot pathfinding or teleporting there
- Smart pathfinding: one-shot A* bounded by iteration/node caps, with width-aware path smoothing, swimming, gap-crossing, hazard avoidance and stuck handling
- Behavior scripts — program bots in a Scratch-like Blockly editor (offline HTML editor or the in-game editor). 100+ blocks, multi-behavior playlists, data export to txt/JSON/CSV
- Right-click a bot for its panel: inventory, ender chest, game mode, teleport, delete, plus per-bot settings (7 tri-state overrides)
- Skins fall back from Mojang API to local PNG to Base64 to the default skin
- Optional persistence: bots stay in the world after you leave, with their chunks kept loaded across dimensions
- Configure things three ways — the in-game GUI (B key),
/botmod config commands, or the JSON file
Behavior editor (editor.zip)
The offline Blockly behavior editor is an optional separate download — grab it here:
Download editor.zip (direct link, ~277 KB)
It's also attached to every 1.3.3 version entry — open any version page and look under Files → Additional files.
Unzip it anywhere, open editor/behavior-editor.html in your browser (fully offline), build behaviors with 100+ Scratch-like blocks, save the .json into .minecraft/config/my-bot-mod/behaviors/, then assign it to a bot in game. Since v1.3.3 there's also an in-game editor (right-click a bot → Behavior Management → New Behavior), so the HTML editor is entirely optional.
Installation
Pick the JAR matching your Minecraft version — the suffix in the file name tells you which one to take:
| File suffix |
Minecraft |
Java |
+1.20.1 |
1.20 – 1.20.1 |
17+ |
+1.20.2 |
1.20.2 |
17+ |
+1.20.4 |
1.20.3 – 1.20.4 |
17+ |
+1.20.6 |
1.20.5 – 1.20.6 |
21+ |
+1.21.1 |
1.21 – 1.21.1 |
21+ |
+1.21.3 |
1.21.2 – 1.21.3 |
21+ |
+1.21.4 |
1.21.4 |
21+ |
Requires Fabric Loader 0.19.2+, Fabric API, and Java 17+ (Java 21+ on 1.20.5 and later). Works in singleplayer and on servers (install on both sides).
Links
Source code & releases (GitHub) · Commands · Behaviors · Config · FAQ
简体中文
一个类似 Carpet Mod 的假人模组,用于 Minecraft 1.20–1.21.4 Fabric。可以召唤表现如普通玩家的假人、指挥它们做事、用寻路把它们派到远处,退出世界后还能(可选)把它们留在世界里。单代码库同时构建七个游戏版本。
假人走原版 placeNewPlayer 流程注册,计分板、传送这些原版玩家逻辑对它照常生效。所有消息和界面文本都有中英文。
功能
- 创建、删除、控制假人
- 动作控制:攻击、使用、移动、跳跃、潜行、疾跑、视角、丢物、换手、骑乘
- 指挥棒:两根木棍合成,手持时有 HUD。Ctrl+滚轮切换模式,右键某处让选中的假人寻路或传送过去
- 寻路:一次性 A* 搜索(迭代/节点有硬上限),带宽度感知的路径平滑、游泳、跨裂谷、危险规避和卡住处理
- 行为脚本:类 Scratch 的 Blockly 编辑器(离线 HTML 编辑器或游戏内编辑器),100+ 积木;游戏内分配播放列表,数据可导出为 txt/JSON/CSV
- 右键假人打开面板:背包、末影箱、游戏模式、传送、删除,还有每假人 7 项三态个人设置
- 皮肤按 Mojang API、本地 PNG、Base64、默认的顺序回退
- 可选驻留:退出世界后假人保留,所在区块跨维度保持加载
- 配置三选一:游戏内界面(B 键)、
/botmod config 命令、JSON 文件
行为编辑器(editor.zip)
离线 Blockly 行为编辑器是可选的独立下载,在这里获取:
点此下载 editor.zip(直链,约 277 KB)
它也附加在每一个 1.3.3 版本条目下——打开任意版本页,在 Files → Additional files 里可以找到。
解压到任意位置,用浏览器打开 editor/behavior-editor.html(完全离线),用 100+ 类 Scratch 积木编排行为,把保存的 .json 放进 .minecraft/config/my-bot-mod/behaviors/,再到游戏内分配给假人。v1.3.3 起也有游戏内编辑器(右键假人 → 行为管理 → 新建行为),HTML 编辑器完全可选。
安装
按游戏版本选对应的 JAR,文件名后缀标明了适用范围:
| 文件后缀 |
Minecraft |
Java |
+1.20.1 |
1.20 – 1.20.1 |
17+ |
+1.20.2 |
1.20.2 |
17+ |
+1.20.4 |
1.20.3 – 1.20.4 |
17+ |
+1.20.6 |
1.20.5 – 1.20.6 |
21+ |
+1.21.1 |
1.21 – 1.21.1 |
21+ |
+1.21.3 |
1.21.2 – 1.21.3 |
21+ |
+1.21.4 |
1.21.4 |
21+ |
需要 Fabric Loader 0.19.2+、Fabric API 和 Java 17+(1.20.5 及以上要 Java 21+)。单人和服务器都能用(两端都要装)。
链接
源码与发布(GitHub) · 命令参考 · 行为系统 · 配置指南 · 常见问题
评论 0
登录后参与评分
还没有评论,来抢沙发吧