
LiveBuddy:你的自主 Minecraft 伙伴
LiveBuddy 为 Minecraft 添加了智能的人形 NPC,它们为你工作。无论你是需要伐木工、地形雕刻师、农夫还是基地照明员,你的 Buddy 都准备就绪——无需复杂的 AI API 或沉重的依赖项。基于稳定的原版寻路和算法构建,LiveBuddy 轻量、高效且可靠。
? 结识你的新朋友
LiveBuddy NPC 不仅仅是宠物;它们是旨在消除资源收集枯燥感的功能性工人。
主要特性:
- 多个 Buddy: 按需生成任意数量!每个 Buddy 都有自己独立的名称、个性化设置和独特皮肤。
- 三种操作模式:
- 跟随 (Follow): Buddy 会紧跟在你身边。
- 待机 (Standby): Buddy 保持在原地(夜间仍会睡觉)。
- 自动 (Auto): 自主工作的核心模式,执行分配的任务。
- 智能导航: Buddy 会自动开门、在水中游泳,并使用原版寻路算法穿越地形。
- 休息与恢复: 夜幕降临时,你的 Buddy 会自动找到并睡在靠近其注册家位置的床上。
- 箱子自动存入: 当 Buddy 的存储空间装满时,它会自动返回家中附近的指定箱子并存入物品。
?️ 强大的管理功能(Buddy 平板)
右键点击任何 Buddy 以打开 Buddy Tablet GUI,让你完全掌控其行为:
- 个性化: 更改 Buddy 的名称并从 9 种预设皮肤中选择(Steve, Alex, Ari, Efe, Kai, Makena, Noor, Sunny, Zuri)。
- 自定义皮肤: 将任何 64×64 PNG 皮肤放入
config/livebuddy/skins/——无需重启。下次打开 Buddy Tablet 时,它便会出现在皮肤选项卡中。 - 工作区域控制: 通过设置区块半径(最大为 3)和向下 Y 轴深度,精确界定 Buddy 的工作范围。
- 家位置: 注册一个家基地点,供 Buddy 返回并睡觉。
- 强制加载区块: 可选择保持 Buddy 所在区块加载,以便在你离开时继续工作。
? 自主工作任务(AUTO 模式)
将 Buddy 切换到 Auto 模式 即可看到它们的行动:
- 砍树: 使用 BFS(广度优先搜索)算法砍伐整棵树,而不仅仅是树干。
- 种植作物: 自动收获成熟作物(包括甘蔗)并重新播种。
- 放置火把: 检查周围光照等级,在工作区域内的黑暗处放置火把以防止生物生成。无需火把物品。
- 平整地形: 平整工作区域的地表,清除泥土、草方块、砂砾、沙子及其他地表方块至指定深度。跳过矿石方块。
- 挖掘地形: 沿固定的 Y 平面水平挖掘,高度为 4 个方块。非常适合清理矿层或拓宽洞穴通道。跳过包含矿石的柱体——这些留给你自己开采。平整地形和挖掘地形互斥。
- 战斗: 检测并在范围内攻击敌对生物。Buddy 具有无敌属性,因此永远不会后退。
? 物品栏
每个 Buddy 拥有 27 个专用存储槽。工作中收集的物品会自动存储。
当存储空间达到 27 格中的 18 格时,Buddy 会前往附近的箱子存入物品。
所有任务均无需工具或消耗品。砍树、耕种、平整、挖掘和放置火把均不需要物品栏中有物品。战斗伤害固定为铁剑等效值。永不消耗耐久度。
? 命令
/lb spawn [name]— 生成一个新的 LiveBuddy/lb call [name|all]— 将 Buddy 传送到你身边(省略名称表示最近的一个,all表示全部)/lb list— 列出所有 Buddy 的模式、任务和位置/lb mode <name> <mode>— 更改 Buddy 的模式(FOLLOW / STANDBY / AUTO)/lb bye [name|all]— 移除一个 Buddy(省略名称表示最近的一个,all表示全部)
? 需求
- Minecraft: 1.21.4 / 1.21.9 / 1.21.10 / 1.21.11
- Loader: Fabric
- Dependencies: Fabric API
⚖️ 许可证
保留所有权利。 未经作者明确许可,禁止分发或修改此模组。

LiveBuddy: Your Autonomous Minecraft Companion
LiveBuddy adds intelligent, humanoid NPCs to Minecraft that work for you. Whether you need a lumberjack, a terrain carver, a farmer, or a base-lighter, your Buddy is ready to help — no complex AI APIs or heavy dependencies required. Built on stable vanilla pathfinding and goal algorithms, LiveBuddy is lightweight, performant, and reliable.
? Meet Your New Best Friend
LiveBuddy NPCs are more than just pets; they are functional workers designed to take the tedium out of resource gathering.
Key Features:
- Multiple Buddies: Spawn as many as you need! Each Buddy has its own name, individual settings, and unique skin.
- Three Operational Modes:
- Follow: Your Buddy stays close to you.
- Standby: Your Buddy stays in place (and still sleeps at night).
- Auto: The autonomous workhorse mode where they execute assigned tasks.
- Intelligent Navigation: Buddies automatically open doors, swim in water, and navigate terrain using vanilla pathfinding.
- Rest & Recovery: When night falls, your Buddy will automatically find and sleep in a bed near its registered home position.
- Chest Auto-Deposit: When a Buddy's storage fills up, it will automatically return to a designated chest near home and deposit its items.
?️ Powerful Management (Buddy Tablet)
Right-click any Buddy to open the Buddy Tablet GUI, giving you full control over their behavior:
- Personalization: Change your Buddy's name and choose from 9 preset skins (Steve, Alex, Ari, Efe, Kai, Makena, Noor, Sunny, Zuri).
- Custom Skins: Drop any 64×64 PNG skin into
config/livebuddy/skins/— no restart needed. It will appear in the skin tab the next time you open the Buddy Tablet. - Work Area Controls: Define exactly where your Buddy works by setting a chunk radius (max 3) and downward Y depth.
- Home Position: Register a home base for your Buddy to return to and sleep.
- Force Chunk Load: Optionally keep the Buddy's chunk loaded so it keeps working even when you're away.
? Autonomous Work Tasks (AUTO Mode)
Switch your Buddy to Auto mode to see them in action:
- Chop Trees: Uses a BFS (Breadth-First Search) algorithm to fell entire trees, not just the trunk.
- Farm Crops: Automatically harvests mature crops (including sugar cane) and replants seeds.
- Place Torches: Checks surrounding light levels and places torches in dark spots within the work area to prevent mob spawns. No torch items required.
- Grade Terrain: Levels the surface of your work area, clearing dirt, grass, gravel, sand, and other surface blocks down to your specified depth. Skips ore blocks.
- Carve Terrain: Excavates horizontally across a fixed Y plane, 4 blocks tall. Great for clearing mining floors or widening cave passages. Skips columns containing ores — those are left for you to mine. Grade and Carve are mutually exclusive.
- Combat: Detects and engages hostile mobs within range. Buddies are invulnerable so they never retreat.
? Inventory
Each Buddy has 27 dedicated storage slots. Items collected during work are stored automatically.
When storage reaches 18 of 27 slots, the Buddy will head to a nearby chest to deposit its items.
All tasks run without tools or consumables. Chopping, farming, grading, carving, and torch placement require no items in inventory. Combat damage is fixed at iron sword equivalent. No durability is ever consumed.
? Commands
/lb spawn [name]— Spawn a new LiveBuddy/lb call [name|all]— Teleport a Buddy to you (omit name for nearest,allfor everyone)/lb list— List all Buddies with mode, tasks, and position/lb mode <name> <mode>— Change a Buddy's mode (FOLLOW / STANDBY / AUTO)/lb bye [name|all]— Remove a Buddy (omit name for nearest,allfor everyone)
? Requirements
- Minecraft: 1.21.4 / 1.21.9 / 1.21.10 / 1.21.11
- Loader: Fabric
- Dependencies: Fabric API
⚖️ License
All Rights Reserved. Redistribution or modification of this mod is not permitted without explicit permission from the authors.
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
下载 LiveBuddy
LiveBuddy v0.5.0 - 拓展能力范围
v0.5.0 新增了一个用于水平挖掘的“开凿(Carve)”任务,并对日常 Buddy 行为的稳定性进行了一轮优化。
从 Alpha 到 Beta 的转变
经过重大的内部重构以及移除原版模式(Vanilla Mode),本模组的发展方向已经明确。 v0.5.0 标志着从 Alpha 阶段向 Beta 阶段的过渡——这是一个构建进一步改进和新功能的基础。
更新内容
开凿任务(Carve Task)
新的**开凿(Carve)**任务允许 Buddy 在固定的 Y 轴平面上进行水平挖掘,高度为 4 个方块。 非常适合清理矿层或拓宽洞穴通道。
- 按列扫描工作区域,一次挖掘一个方块。
- 跳过任何含有矿石的列——这些留给玩家自行开采。
- 一旦玩家清除了某列中的矿石,Buddy 将继续挖掘该列。
- 开凿(Carve)与平整(Grade)互斥。 启用其中一个将自动禁用另一个。
移除原版模式 —— 库存统一
已移除 Buddy 模式/原版模式的切换选项。 Buddy 现在使用统一的 27 格仅存储型背包。 物品不会消耗耐久度,也不会因放入背包而消失——这一行为保持不变。
如果您是从 v0.4.0 升级,旧装备槽中的所有物品将保留在背包的第一行中。
门导航优化
Buddy 现在能更好地穿过带有门的建筑。 之前出现的在门前停下或在墙边徘徊的情况应明显减少。
砍伐改进
- 修复了 Bug:Buddy 在完成第一棵树后不再移动到下一棵树。
- 改进了处理下层被清除后仍留在树顶的木头的逻辑。
其他修复
- 即使在待机(STANDBY)模式下,Buddy 现在也会在夜间睡觉。
- 火把放置不再针对冰块或霜冰方块(寒冷生物群系修复)。
- 调整了平整(Grade)任务的向上扫描高度,以实现更自然的挖掘行为。
- 提高了箱子存入阈值——Buddy 会在前往箱子前工作更久(填满 18/27 格时触发,此前为 10 格)。
已知问题
- 在封闭空间(如洞穴)中,由于寻路限制,Buddy 可能会迷路。请使用
/lb call将其召回,它将从当前位置继续工作。 - 如果树太高且 Buddy 无法触及,树顶可能仍会残留一些木头。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧