Möbius Automata
首个完全由玩家独立控制的寻路、建造与战斗自动化方案。
- 本模组利用 Carpet 模组的假玩家功能,支持在单人游戏和服务端中全面使用
- 因此,它依赖于 Carpet 模组,而 Carpet 模组又需要 Fabric API 和 Fabric 环境
解释本模组所有功能的 Wiki 可在此处找到: Möbius Automata Wiki
如果您遇到问题或希望建议新功能,请加入 Discord 服务器,或者随时在此报告: 问题追踪器
包含所有详细信息的旧版描述:
剧透
功能特性
- 任何玩家都可以使用
/bot 命令生成 Automata,无论是在安装了该模组的服务端还是单人世界中
- Automata 通过类似 Baritone 使用的 A* 寻路引擎在其周围的世界中移动。
- 可以通过在聊天中使用
/bot <name> 命令的后缀来控制机器人,也可以通过按下 /automatamenu 或右键点击机器人来打开完整菜单——两者均无需客户端模组
- 机器人仅响应生成它的玩家以及该玩家选择共享给其他人的用户。其他人无法指挥它、拿走它的物品甚至让它行走——包括服务器管理员
- 您只能生成尚未存在于世界中的机器人
- 可以将多个机器人放入一个组中,然后使用
/botgroup <group>(代替机器人名称)同时控制它们
- 机器人会攀爬梯子、藤蔓和脚手架,并自行建造出路以离开深水区域
- 当从边缘或自己的桥末端跳入下方水域时,机器人不会卡住,如果下方没有水,它会放置自己的水以便着陆
- 与长矛相关的命令和操作仅在 1.21.11 及更高版本中可用
- 支持所有正常的 Carpet 玩家命令,并且每个命令都在菜单中有一个对应的按钮
- 在执行过程中主动防御来自生物的攻击
- 无需指示也能自我照顾:被落下的砾石或沙子掩埋时会自行挖出,当苦力怕将其逼到无路可退时举起盾牌,并在浮出水面换气时继续朝原定方向游泳
- 同样照顾其装备:在工具损坏前切换到备用工具,自行修复具有经验修补附魔的设备,并将未使用的物品存放在自己的末影箱中
- 在开始工作前会告知缺少什么:没有适合挖掘该方块的镐子、弓没有箭、没有鱼竿、没有存储套装、背包已满无处存放物品——您会提前听到这些信息,而不是看着机器人一无所获
显著功能
控制面板
- 模组中的每个命令也是一个按钮。/automatamenu 打开一个包含您拥有的所有机器人的菜单,每个机器人都显示其皮肤、当前状态、生命值及其位置。您的群组则位于下一行。
- 打开某个机器人后,您将看到其完整面板:生命值、饥饿值、位置、库存、接管控制权,以及用于执行各种任务(采矿、区域采矿、建造、制作、排水、钓鱼、狩猎、前往某地、放置、保镖、工作流、命令链、Carpet 控制和三种存储方式)的按钮。其规则页面是一组分类为 战斗、生存、工作、制作 和 控制 的拉杆。
- Carpet 控制是一个独立的页面:攻击、使用、跳跃、丢弃、丢弃整堆、交换手、各个方向的移动、潜行、冲刺、注视、转向、快捷栏槽位、骑乘和解除骑乘。可重复执行的命令会询问您希望如何执行——单次、持续按住,或在一定刻数之间间隔——并且在运行时按钮上会有提示。
- 库存按钮是一个独立的菜单:一侧是机器人的背包,另一侧是其末影箱,两者均可直接从菜单中进行实时编辑。
- 整个系统完全由箱子构成,运行在服务端上。完全原版的客户端可以在任何运行该模组的服务端上访问全部内容。
- 当命令需要方块名称或坐标时,菜单会在聊天中向您提问——这条消息会被拦截,不会发送给其他任何人。
- 启用 visualselect 规则后,系统将不再以文字形式询问:方块变成一箱方块,优先列出靠近机器人的那些;生物变成一箱刷怪蛋;玩家变成一箱他们自己的头颅;您的蓝图和工作流变成一箱它们的名称。所有内容均可通过箭头翻页浏览。
采矿
- 模组提供了通用的 mine 命令,用于查找并开采特定方块,以及带有坐标的 mine area 命令。
- 为了提高实际收集效果和实用性,模组提供了一个选项 pickmineitems,使机器人能够主动收集已开采的方块。
- 开启 pickmineitems 后,机器人将在开采的同时进行收集,而不是停下来拾取,并在任务完成后再次清扫整个区域,确保没有任何物品遗留在地面上。
- 如果拥有足够快的工具,机器人可以在行走过程中直接穿过软质方块,而不是逐个瞄准开采,且永远不会切断其所站立的土地。
- 此外,为了防止因背包满溢而导致资源丢失,还提供了一种基于坐标的 storage gather 命令。机器人将返回指定的半径范围,并将资源交付到初始命令中给出的半径范围内的存储容器中。
- 启用 biomeseek 规则后,机器人不会因为目标资源不存在而放弃。服务端了解整个世界,而不仅仅是加载的部分,因此机器人会找到实际生长您所请求资源的最近生物群系,并前往那里——即使需要飞行数千格距离,如果有鞘翅也会飞过去。
- 在进行柱状结构搭建或桥梁铺设时,机器人会使用除您要求收集的材质之外的所有材料,从而确保收获的资源能带回基地,而不是变成脚手架。
修复与备用装备
- 启用 mend(修复)规则后,当工具耐久度仅剩最后几次使用时,机器人会停止工作并自行修复。它会将工具放在副手位置,用手投掷经验瓶进行修复。
- mendOrder 决定了哪些工具优先修复,哪些则暂时忽略。护甲的磨损程度同样计入考量,而不仅仅是工具。
- 备用件始终是更经济的选择。如果背包、mend 存储空间或末影箱中有新的工具,机器人会直接切换使用新工具,而不是在损坏的工具上消耗经验值。
- storage mend 规则为机器人提供一个专属箱子,用于存放备用工具和瓶子,其设置方式与其他两个存储区完全相同。系统会先检查这个箱子,然后再检查服务器所有机器人共享的末影箱——这样可防止一群机器人互相挪用对方的备用件。未使用的瓶子会放回同一个箱子中。
- 仅当真正没有任何可用资源时(即任何地方都没有备用件,且没有可花费的经验值),它才会停止并向你报告。
末影箱
- 每个机器人都携带自己的末影箱,并将其视为私人口袋。无论在世界何处,它都清楚箱内物品。
- 移动物品是物理行为。它会走向附近放置的箱子或放下自己的箱子,打开后交换所需物品,然后带着丝绸之触收回箱子——或者将其留在原地并记住确切位置。
- 在工作开始时,它会收起该任务无法使用的物品,只保留最好的护甲、武器、每种工具中的最佳者、食物、一组建筑方块以及一个图腾或盾牌。
- 工作中途,它会去取回耗尽的物品——无论是新工具、食物还是用于修复的经验值——然后立即回到原先的工作状态。
- 它绝不会用箱子、潜影盒或末影箱来建造,也绝不会将你派去挖掘的东西收走。
合成
- craft 命令采用真实方式的合成:在机器人的 2x2 合成格中进行(如果配方允许),否则通过走向工作台进行合成。缺失中间产物会自动制作(例如将原木制成木板,再制成你所需的物品)。
- 如果范围内没有工作台但机器人随身携带,它会放下工作台,使用它,破坏它并再次带走。启用 adaptivecrafting(自适应合成)后,它甚至能先合成出工作台本身。
- max、repeat 和 drop 后缀使其变成一台机器:尽可能多地合成材料允许的所有物品;无限期等待新材料;并将结果丢弃以便漏斗收集。
- 启用 adaptivecrafting 规则后,请求机器人无法制作的物品不再被拒绝。它会一直追溯到原材料,找出实际缺失的部分,明确告知你,然后前去开采。它还会选择最近的材料来源——如果配方要求“任意木板”,它会去采集脚下的云杉木,而不是四百块外的橡木。
排水
- drain 命令利用海绵清除区域内的水分,将它们放置在吸水效率最高的位置,在工作期间让它们作为水坝矗立,并在完成后回收每一个海绵——如果设置了存储点,还会将湿海绵替换为干海绵。
- draining 规则决定 mine area(区域挖掘)遇到水时的处理方式:如果机器人携带海绵则使用海绵,否则用备用方块填充水源并将其挖出。
常规狩猎
- 机器人能够使用 hunt 命令精确猎杀任何实体(如果在渲染距离内)。
玩家狩猎
- 玩家狩猎和战斗是该模组的一个显著功能。提供了多条规则命令和后缀,以帮助指挥机器人在世界任何地方猎杀任何玩家。此外,尽管尚未完全消除 bug,但只要告知传送门的位置(参见命令定义与用法),机器人就能跨维度猎杀其他玩家。
Automata 利用了许多与战斗相关的能力,包括但不限于:
- 搭路
- 叠高塔
- 水桶救命
- 鞘翅追击
- 战锤链式攻击
- 长矛蓄力
- 弓的使用
- 高级剑、斧和盾的使用
- 图腾的使用
- 智能进食
- 挖掘目标所藏匿的后方障碍物,而不是站在最后一个方块前
建造
- 机器人可以访问创建者的 schematics 文件夹(litematica 使用),从而自动构建任何大小的结构。在服务器上,世界旁边的 schematics 文件夹同样有效,因此 vanilla 客户端的玩家也可以从服务器提供的文件中进行建造。不过,像普通玩家一样,它们需要足够的材料,可以通过 storage build 命令将材料留在建造存储区。
- 需要依附于其他方块才能放置的方块(如拉杆、告示牌、红石粉、铁轨、地毯、火把、门、床、悬挂灯笼、链条等)只有在支撑方块存在时才会放置。从上方向下悬挂的方块会在最后一遍铺设时放置,此时其余建筑已成型。
工作流程
- 机器人可以记录并重复操作员执行的任何操作。recordworkflow 命令启动一个简短的引导会话;双击 Shift 键开始,执行你的循环,再次双击 Shift 键结束。每次移动、破坏的方块、使用的物品以及与箱子的交互都会以名称保存。
- 你生成的任何机器人随后都可以使用 doworkflow 命令重放该精确循环,它会先自行走到记录的起始位置。
- 箱子交互按物品和数量而非槽位保存,这意味着即使自上次操作以来箱子布局已重新排列,机器人仍能取出和存入正确的物品。
- 配合 workflowloop 规则,机器人会无限重复该循环,使任何农场或重复性手动任务完全自动化。
- 如果生物在中途打断机器人(参见 mobdefense),它会自卫,返回到离开的确切位置,并继续工作。
命令链
- 任意数量的命令,一个接一个排列,用逗号分隔:_ /bot <name> commandchain mine iron_ore 64, goto 100 64 100, store iron_ore all_。
- 命令链可以保存名称并随时再次运行,而 wait(等待)是与其他步骤一样的常规步骤,用于处理单纯需要时间的情况。
- 如果某个步骤失败,会在放弃整个链之前重试该步骤,因此一次不幸的路径错误不会导致整个列表被丢弃。
- 使用 chainloop(循环链)规则时,完成的链会从顶部重新开始,将任何例行程序转变为永久性的。
所有权与共享
- 每个机器人都属于生成它的玩家,这一规则在所有地方都得到执行——包括命令、右键点击、移动、战斗、其物品栏等。拥有服务器的操作员权限并不会赋予你额外特权。
- ownership share(所有权共享)将控制权交给朋友,你可以分享给任意数量的人。他们可以对你拥有的机器人做所有你能做的事,除了将其赠予他人或更改其他驾驶者。
- ownership transfer(所有权转移)将机器人永久移交。它会从你的菜单和你的群组中移除。
- 这两个操作也位于机器人自己的面板上,你可以从一堆头颅中选择一个玩家进行分配。
群组控制
- 使用 /botgroup <group> add 将机器人放入群组,可以同时添加任意数量的机器人。群组由第一个加入的机器人创建,并在最后一个被移出时消失,因此永远不会存在空的群组残留。
- 任何命令都可以针对群组而非单个机器人发出——/botgroup crew mine diamond_ex_ore 会对群组的每个成员分别执行一次。聊天建议在群组命令中的作用方式与单个机器人完全相同。
- 群组在菜单中拥有自己的面板,并提供点名功能:显示有多少个正在工作、它们中的最低生命值以及它们分散的距离。
创造模式
- 如果操作员将机器人置于创造模式,它将获得相应的能力。
- 建造不再需要任何材料或建造存储,因为机器人会直接从创造模式的物品栏中提取方块,错误的方块会被瞬间破坏。
- 移动方式切换为实际的创造模式飞行,包括疾跑飞行,而不是行走、堆叠和搭桥。
手动控制
- 启用 easycontrols(简易控制)规则后,你可以完全跳过聊天界面:右键点击机器人以打开其完整控制面板,潜行状态下右键点击它可停止其当前正在进行的操作。此功能完全兼容原版客户端,无需安装客户端模组,且默认开启。
- 你不拥有的机器人会完全忽略你——在出生点右键点击别人的机器人没有任何效果。
命令定义
菜单
(单独使用时)
- /automatamenu 打开你拥有的每个机器人的控制面板以及你创建的每个群组的控制面板
基础命令
(作为 /bot <name> xxx 使用)
- SPAWN 生成一个机器人
- STOP 使机器人立即取消任何正在运行的任务
- STATUS 显示机器人当前正在做什么(“正在挖掘 7/15 oak_log”,“正在建造 myhouse — 第 4/9 层”,“在其末影箱处”)、所在位置、生命值、饥饿值和空气值、两个存储槽的状态、已加载的任何结构图,以及当前开启或关闭的所有规则
- KILL 杀死机器人,但保留其物品
- DROPALL 使机器人掉落其物品栏中的所有物品
- OWNERSHIP 显示机器人属于谁以及与谁共享。share(共享)、unshare(取消共享)和 transfer(转移)需要一个玩家名称(用作 /bot <name> ownership share <player>)
操作命令
(用作 /bot <名称> xxx)
-
GOTO 使机器人前往指定的坐标。如果已知/已声明传送门,可以在任何维度中使用。
-
MINE 使机器人在世界中搜索并挖掘特定方块。与存储收集兼容。也可以通过使用 /bot <名称> mine area xyz xyz 来挖掘由坐标声明的区域。
-
CRAFT 让机器人在其自己的工作台中或在其发现、携带或自行制作的桌子旁合成物品。支持 max、repeat、once 和 drop
-
PLACE 让机器人从物品栏中取出方块并放置在指定坐标处,如果需要则通过搭路或堆叠来接近目标(用法:/bot <name> place <block> xyz)
-
STORE 让机器人将物品搬运至收集存储区并按数量和类型存放(用法:/bot <name> store <block> <all/64/2 stacks>)
-
DRAIN 使用海绵清除指定区域的水,并在完成后将海绵收回(需配合两组坐标使用)
-
HUNT 使机器人搜索并击杀渲染距离内的任何实体。如果目标是玩家,机器人可以使用多种战斗技巧并跨越长距离以消灭其目标。
-
BUILD 使机器人根据命令从创作者的架构文件夹或服务器自带的文件夹中构建所选的任何结构。
-
OPENINV 打开一个包含机器人自身物品栏和末影箱的菜单,两者均可直接编辑
-
ENDERCHEST 将当前任务无法使用的所有物品发送到机器人的末影箱
-
MEND 使机器人用附魔瓶修复其磨损的经验修补装备
-
MENDORDER 设置哪些工具优先处理,哪些保持不动(用法为 /bot <name> mendOrder <tools…> blacklist <tools…>)
-
COMMANDCHAIN 依次运行一系列由逗号分隔的命令。save、run 和 delete 用于将它们保存在一个名称下(用法为 /bot <name> commandchain mine iron_ore 64, store iron_ore all)
-
WAIT 使机器人站立并等待指定时间,通常作为链式操作中的一步(用法为 /bot <name> wait 5m30s)
-
FACE 使机器人看向某个实体,可仅看一次或持续注视(用法:/bot <name> face <实体> <once/constant>)
-
BODYGUARD 使机器人跟随某个人并持续保护其免受任何攻击者的伤害。以名称开头,或停止(用作 /bot <name> bodyguard start <player>)。目标可以是另一个机器人,因此一个工作时,另一个可以为其掩护
-
FISH 找到最近的开放水域,面积大于 5x5,站在边缘并使用分配给它的钓鱼竿进行钓鱼。兼容存储收集
-
RECORDWORKFLOW 启动一个引导式录制会话,在该会话中,操作员的所有移动和操作都会以指定名称保存
-
DOWORKFLOW 使机器人走向您录制的某个工作流的起始位置,并精确地重放它
-
TAKECONTROL 使操作者与机器人互换位置,并将机器人的物品交给操作者,同时让操作者完全控制它。说一次以接管控制,再说一次以放弃控制。
地毯控制
(用作 /bot <名称> xxx,它们也作为菜单中的按钮)
-
攻击、使用、跳跃、丢弃、丢弃堆叠、交换手 各执行一次、持续、间隔 <刻> 或停止
-
移动 前进、后退、向左、向右或停止
-
潜行 / 取消潜行、疾跑 / 取消疾跑、骑乘 / 下马 像按键一样按住和松开
-
look 使机器人朝向北、南、东、西、上、下,或指定的一组坐标
-
turn 使机器人旋转一定角度(用法为 /bot <name> turn <yaw> <pitch>)
-
hotbar 选择快捷栏中的第 1 至第 9 个槽位
战斗规则
(用作 /bot <name> combatrule xxx <true/false>,或用 all 代替规则名称)
-
allowelytra 允许机器人使用鞘翅进行远程移动,并使用战锤和长矛进行攻击
-
allowmace 允许机器人在(如果允许)配合鞘翅的情况下使用战锤,以激进的方式对玩家目标进行连续战锤连击
-
allowspear 允许机器人向玩家突进以追上目标,因为它无法疾跑跳跃(如果配备了附魔的长矛),或者在(如果允许)配合鞘翅的情况下飞向玩家以造成大量伤害
-
allowtrident 允许机器人使用带有激流附魔的三叉戟来更轻松地穿越大片水域,目前它在一般的水域中表现不佳
-
allowbow 仅在早期游戏阶段启用,当允许使用鞘翅等装备时自动禁用,以便让机器人在拥有最低限度装备的情况下也能从远处造成伤害
游戏规则
(用法为 /bot <name> gameplayrule xxx <true/false>,或者用 all 代替具体规则名称)
- mobdefense 让机器人能在任何过程中自动防御敌对生物,默认开启
- breathing 当机器人溺水时,让它自行浮出水面呼吸,默认开启
- eating 让机器人关注饥饿值,并在需要时暂停当前行为去进食,默认开启
- durability 为工具保留安全耐久度余量,防止其碎裂,默认开启
- mend 当工具的可用次数耗尽前,让机器人停止工作并修复附魔修补(Mending)装备;如果有备用工具,会先进行切换
- draining 决定机器人在区域挖掘时如何处理积水;有海绵时用海绵吸水,没有则将其填平。默认开启
- pickmineitems 让机器人主动拾取由挖掘命令掉落的物品
- workflowloop 让机器人无限循环执行某个工作流,在每个周期结束后返回起点
- chainloop 让已完成的命令链从头再次开始执行
- biomeseek 让机器人前往真正拥有所需矿物的生物群系,而不是报告附近没有
- adaptivecrafting 让机器人识别配方缺少的材料并前去采集,在此期间自动开启 pickmineitems
- easycontrols 右键点击机器人以打开其控制面板,潜行右键点击以停止它。默认开启
- visualselect 让菜单通过展示方块箱子、刷怪蛋或玩家头颅来进行选择,而不是让你手动输入
群组命令
(用法为 /botgroup <group> xxx)
- add 将机器人加入群组,如果该群组尚不存在则创建它(用法为 /botgroup <group> add <name> <name> <name>)
- remove 将机器人移出群组。当最后一个成员离开时,该群组也会随之消失
- any other command /botgroup <group> <anything> 会对群组中的每个机器人分别运行一次该命令,涵盖从挖掘建造到一次性停止或击杀所有机器人等操作
- /botgroups 列出你所有的群组及其包含的机器人
位置命令
(用法为 /bot <name> storage <build/gather/mend> <coordinates> <radius>)
- storage gather 用于告知机器人收集到的物品(来自挖掘或钓鱼)在背包满时应存放的位置。提供箱子或其他类似存储容器
- storage build 用于告知机器人寻找建造材料的存放位置。提供装有材料的箱子或其他类似存储容器
- storage mend 用于告知机器人其备用工具和经验瓶的存放位置。会在末影箱之前检查这些位置,且剩余的经验瓶会放回此处
声明命令
(用法为 /<commandhere>)
- declareNetherPortal 告知机器人下界传送门的位置
- declareEndPortal 告知机器人末地传送门的位置
- automatadebug 控制机器人在聊天栏中显示的信息量;joinmsg 用于显示加入世界时的消息,all 用于显示其他所有内容。关闭后你仍会收到错误和警告信息。perf 报告机器人的寻路和挖掘操作对服务器造成的性能消耗
Bug 与后续开发
- 如有建议、Bug 报告或疑问,欢迎加入 Discord 服务器
- 随着首个完整版本 1.0.0 的临近,重大更新频率会降低,但 Bug 修复仍会频繁进行
- 将继续举行内部 Bug 测试会议,以进一步优化结果
The Möbius Automata
The first fully player-independent pathfinding, building, and combat automation approach.
- This mod takes advantage of the carpet mods' fake player feature, allowing for full usage both on singleplayer and on servers
- It is therefore however dependant on the carpet mod, which in turn requires fabric api and a fabric environment
The Wiki explaining all features of the mod can be found here: Möbius Automata Wiki
If you encounter issues or would like to suggest features, join the discord server, or feel free to report them here: Issue Tracker
LEGACY DESCRIPTION WITH ALL DETAILS:
Spoiler
Capabilities
- Möbius Automata can be spawned using the /bot command, by any player, both on servers that have the mod installed and in singleplayer worlds
- The Automata traverse the world around them through the A* pathfinding engine, very similar to what baritone uses.
- The bot is controlled either in chat via suffixes of the /bot <name> command, or through a full menu opened with /automatamenu or by right-clicking the bot — no client mod needed for either
- A bot answers only to the player that spawned it, and to anyone that player chooses to share it with. Nobody else can command it, take its items or so much as make it walk — server operators included
- You can only spawn bots that are not in the world yet
- Multiple bots can be put into a group and then all be commanded at the same time with /botgroup <group> in place of a bot name
- Bots climb ladders, vines and scaffolding, and build their own way out of deep water
- Bots jump off a ledge or the end of their own bridge into water below rather than getting stuck, and place their own water to land in if there is none
- Spear related commands and actions only available in 1.21.11 and future
- All normal carpet player commands are also supported, and every one of them is a button in the menu as well
- Actively defends itself from mobs during processes
- Looks after itself without being told to: digs itself out when buried by falling gravel or sand, raises its shield when a creeper corners it with nowhere to back away to, and keeps swimming toward where it was going while it comes up for air
- Looks after its own gear too: swaps to a spare tool before one shatters, repairs its Mending equipment itself, and keeps everything it is not using in its own ender chest
- Says what it is missing before it starts. No pickaxe for that block, a bow with no arrows, no fishing rod, no storage set, an inventory that filled up with nowhere to put things — you hear it once, up front, instead of watching a bot achieve nothing
Significant features
The Control Panel
- Every command in the mod is also a button. /automatamenu opens a menu of every bot you own, each one wearing its own skin and showing what it is doing, its health and where it is. Your groups sit on the row underneath.
- Opening a bot gives you its whole panel: health, hunger, position, inventories, take control, and a button for every job — mine, mine area, build, craft, drain, fish, hunt, go to, place, bodyguard, workflows, command chains, the carpet controls and all three storages. Its rules are a page of levers sorted into Combat, Staying alive, Working, Crafting and Control.
- The carpet controls are their own page: attack, use, jump, drop, drop stack, swap hands, every direction of movement, sneak, sprint, look, turn, hotbar slot, mount and dismount. The repeatable ones ask how you want them — once, held, or a number of ticks between goes — and the button says so while it is running.
- The inventory button is a menu of its own: the bot's pack on one side, its ender chest on the other, both live and editable straight from the menu.
- It is built entirely out of chests, on the server. A completely vanilla client gets the whole thing, on any server running the mod.
- Where a command needs a block name or coordinates, the menu asks you in chat — and that message is swallowed before it reaches anybody else.
- With the visualselect rule it stops asking in words at all: blocks become a chest of blocks with whatever is near the bot listed first, mobs become a chest of spawn eggs, players become a chest of their own heads, and your schematics and workflows become a chest of their names. Everything pages with arrows.
Mining
- The mod provides both a generic mine command used to find and mine specific blocks, aswell as mine area command used with coordinates.
- For actual collection and usefulness, the mod provides an option pickmineitems that makes the bot actively collect the blocks mined.
- With pickmineitems on the bot mines and collects at the same time instead of stopping to gather, and sweeps the whole area once more when the job is finished so nothing is left lying on the floor.
- Given a fast enough tool it mines straight through soft blocks as it walks rather than aiming at each one in turn, without ever cutting away the ground it is standing on.
- In addition to this, to prevent resource loss in case of a full inventory, a coordinate driven storage gather command is provided. The bot will return to the declared radius and deliver his resources to storage utensils in a radius given in the initial command.
- With the biomeseek rule the bot stops giving up when a resource simply isn't around. The server knows the whole world, not just what is loaded, so the bot finds the nearest biome that actually grows what you asked for and travels there — thousands of blocks if it has to, flying it if it has an elytra.
- When pillaring or bridging, the bot spends anything except the material you sent it to collect, so the harvest comes home instead of becoming scaffolding.
Repairs and Spare Gear
- With the mend rule a bot stops when a tool is down to its last uses and repairs it itself with bottles o' enchanting, tool in the offhand, bottles thrown by hand.
- mendOrder decides which tools matter first and which it should leave alone. Worn armour counts too, not just tools.
- A spare is always the cheaper answer, so if a fresh tool is sitting in its pack, its mend storage or its ender chest it swaps to that instead of spending experience on a broken one.
- storage mend gives a bot a chest of its own for spare tools and bottles, set exactly like the other two. It is looked in before the ender chest, which every bot on the server shares — so a crew of bots stops taking each other's spares. Bottles it did not spend go back in the same chest.
- It only stops and tells you when there is genuinely nothing left to work with — no spare anywhere, and no experience to spend.
The Ender Chest
- Every bot carries its own ender chest and treats it as a pocket. It always knows what is inside, from anywhere in the world.
- Moving things is physical. It walks to a chest standing nearby or sets its own down, opens it, swaps what it needs, then takes the chest back with silk touch — or leaves it standing and remembers exactly where.
- At the start of a job it puts away everything that job cannot use, keeping the best armour, a weapon, the best of each tool, food, a stack of blocks to build with, and a totem or a shield.
- Mid-job it goes and fetches whatever it runs out of — a fresh tool, food, or the experience for a repair — and comes straight back to what it was doing.
- It will never build with a chest, a shulker box or an ender chest, and never puts away the very thing you sent it to mine.
Crafting
- The craft command crafts the real way: in the bot's own 2x2 grid where the recipe allows, otherwise by walking to a crafting table. Missing intermediates are made automatically (logs into planks into whatever you asked for).
- If no crafting table is in range but the bot carries one, it puts it down, uses it, breaks it and takes it with it again. With adaptivecrafting on it will even craft the table itself first.
- max, repeat and drop suffixes turn it into a machine: craft everything the materials allow, keep waiting for new materials forever, and toss the results so hoppers can take them.
- With the adaptivecrafting rule, asking for something the bot cannot make is no longer a refusal. It works out what is actually missing all the way down to raw material, tells you plainly, then goes and mines it. It also picks whichever material is closest — a recipe asking for "any planks" sends it to the spruce at its feet, not the oak four hundred blocks away.
Draining
- The drain command clears water out of an area with sponges, placing them where they soak up the most, leaving them standing as dams while it works, and collecting every one of them again afterwards — including swapping wet ones for dry at a storage if one is set.
- The draining rule decides how mine area deals with water it runs into: with sponges when the bot carries any, or by filling the sources in with spare blocks and mining them back out.
Normal Hunting
- Bots are able to very precisely hunt any entity (if in render distance) using the hunt command
Player Hunting
- A very prominent feature of the mod is player hunting and combat. Multiple rule commands and suffixes are provided to aid the process of commanding a bot to hunt any player anywhere on a world. Alongside this, although not yet bug free, the bot is able to hunt other players through dimensions, by being told where portals are (see Command Definitions and Usage).
The Automata harness many capabilities related to combat. These include but are not limited to;
- Bridging
- Towering
- Water Bucket Clutching
- Elytra Pursuit
- Mace Chain attacking
- Spear Charging
- Bow usage
- Advanced Sword, Axe and Shield usage
- Totem usage
- Smart Eating
- Digging through whatever the target is hiding behind, rather than standing in front of the last block
Building
- Bots are able to access their creator's schematics folder (used by litematica), letting them build any structure of any size automatically. On a server the schematics folder next to the world works just as well, so players on a vanilla client can build from whatever the server provides. They do however like normal players, require enough materials, which can be left at the build storage using the storage build command.
- Blocks that need something to attach to (levers, signs, redstone dust, rails, carpets, torches, doors, beds, hanging lanterns, chains and so on) are only placed once their support block exists. Blocks hanging from above are placed in a final pass, after the rest of the build stands.
Workflows
- Bots can record and repeat anything the operator does themselves. The recordworkflow command starts a short guided session; double-tap shift to start, do your cycle, double-tap shift to end. Every movement, block broken, item used and chest interaction is saved under a name.
- Any bot you spawned can then replay that exact cycle with doworkflow, walking to the recorded starting position by itself first.
- Chest interactions are saved by item and amount instead of by slot, meaning the bot still takes and deposits the right things even if the chest was rearranged since.
- Together with the workflowloop rule the bot repeats the cycle forever, making any farm or repetitive manual task fully automatic.
- Should a mob interrupt the bot mid cycle (see mobdefense), it defends itself, returns to the exact position it left off at, and continues.
Command Chains
- Any number of commands, one after the other, separated by commas: /bot <name> commandchain mine iron_ore 64, goto 100 64 100, store iron_ore all.
- Chains can be saved under a name and run again whenever you like, and wait is a step like any other for when something simply needs time.
- A step that fails is tried again before the chain gives up, so one unlucky path does not throw the whole list away.
- With the chainloop rule a finished chain starts again from the top, turning any routine into a permanent one.
Ownership and Sharing
- Every bot belongs to the player who spawned it, and that is enforced everywhere — commands, right-click, movement, combat, its inventory, the lot. Being an operator on the server grants nothing.
- ownership share hands the controls to a friend, as many people as you like. They can do everything you can with it, except give it away or change who else may drive it.
- ownership transfer hands the bot over for good. It leaves your menu and your groups with it.
- Both are also buttons on the bot's own panel, where you pick the player out of a chest of heads.
Group Control
- Bots are put into a group with /botgroup <group> add, as many at once as you like. The group is made by the first bot you put in it and disappears with the last one you take out, so there is never an empty one lying around.
- Any command at all can then be aimed at the group instead of a bot — /botgroup crew mine diamond_ex_ore runs it once for every member. Chat suggestions work inside a group command exactly as they do for a single bot.
- Groups get their own panel in the menu with a roll call: how many are working, the lowest health among them, and how far apart they have spread.
Creative Mode
- Should the operator put a bot into creative mode, it gains the according capabilities.
- Builds no longer require any materials or a build storage, as the bot takes the blocks straight out of the creative inventory, and wrong blocks are broken instantly.
- Movement switches to actual creative flight, sprint flying included, instead of walking, towering and bridging.
Hands-on Control
- With the easycontrols rule you can skip the chat entirely: right-click a bot to open its whole control panel, sneak-right-click it to stop whatever it is doing. Works from a completely vanilla client, no client mod needed, and is on by default.
- A bot you do not own ignores you completely — right-clicking somebody else's bot at spawn does nothing at all.
Command Definitions
Menu
(used on its own)
- /automatamenu opens the control panel for every bot you own and every group you have made
Base Commands
(used as /bot <name> xxx)
- SPAWN spawns a bot
- STOP makes the bot instantly cancel any running task
- STATUS shows what the bot is doing right now ("mining 7/15 oak_log", "building myhouse — layer 4/9", "at its enderchest"), where it is, its health, hunger and air, both of its storages, any loaded schematic, and every rule currently on or off
- KILL kills the bot but lets it keep its items
- DROPALL makes the bot drop all items in its inventory
- OWNERSHIP shows who the bot belongs to and who it is shared with. share, unshare and transfer take a player name (used as /bot <name> ownership share <player>)
Action Commands
(used as /bot <name> xxx)
- GOTO makes the bot go to a specific set of coordinates. If portals are known/declared, can be in any dimension.
- MINE makes the bot search for and mine a specific blocks in the world. compatible with storage gather. can also be used to mine out an area declared with coordinates by using /bot <name> mine area xyz xyz
- CRAFT makes the bot craft an item, in its own grid or at a table it finds, carries or makes itself. accepts max, repeat, once and drop
- PLACE makes the bot put a block from its inventory at a set of coordinates, bridging or towering out to reach it if it has to (used as /bot <name> place <block> xyz)
- STORE makes the bot carry something to its gather storage and put it away, by item and amount (used as /bot <name> store <block> <all/64/2 stacks>)
- DRAIN makes the bot clear the water out of an area with sponges and collect them again afterwards (used with two sets of coordinates)
- HUNT makes the bot search for and kill any entity within render distance. In the case of a player being the target, the bot can use various combat techniques and travel vast distances to eliminate his target.
- BUILD makes the bot build whatever structure is selected per command from the creator's schematics folder, or the server's own.
- OPENINV opens a menu with the bot's own pack and its ender chest, both editable directly
- ENDERCHEST sends everything the current job cannot use to the bot's ender chest
- MEND makes the bot repair its worn Mending gear with bottles o' enchanting
- MENDORDER sets which tools matter first and which to leave alone (used as /bot <name> mendOrder <tools…> blacklist <tools…>)
- COMMANDCHAIN runs a list of commands one after another, separated by commas. save, run and delete keep them under a name (used as /bot <name> commandchain mine iron_ore 64, store iron_ore all)
- WAIT makes the bot stand and wait for a set time, meant as a step inside a chain (used as /bot <name> wait 5m30s)
- FACE makes the bot look at an entity, once or constantly (used as /bot <name> face <entity> <once/constant>)
- BODYGUARD makes the bot follow someone and constantly protect them from any attacker. takes start with a name, or stop (used as /bot <name> bodyguard start <player>). the target can be another bot, so one works while the other watches its back
- FISH finds nearest open body of water bigger than 5x5, stands at its edge and uses fishing rods given to it to fish. Compatible with storage gather
- RECORDWORKFLOW starts a guided recording session in which every move and action of the operator is saved under a given name
- DOWORKFLOW makes the bot walk to the start of one of your recorded workflows and replay it exactly
- TAKECONTROL makes the operator and the bot switch places and gives the operator the bots items with full control over it. say it once to take control, again to let go
Carpet Controls
(used as /bot <name> xxx, all of them also buttons in the menu)
- attack, use, jump, drop, dropStack, swapHands each taking once, continuous, interval <ticks> or stop
- move forward, backward, left, right or stop
- sneak / unsneak, sprint / unsprint, mount / dismount held on and off like a key
- look points the bot north, south, east, west, up, down, or at a set of coordinates
- turn turns the bot by a number of degrees (used as /bot <name> turn <yaw> <pitch>)
- hotbar selects a hotbar slot, 1 to 9
Combat Rules
(used as /bot <name> combatrule xxx <true/false>, or all instead of a rule name)
- allowelytra allows the bot to use an elytra for long range travel and attacks with mace and spear
- allowmace allows the bot to use a mace in combination with elytra (if allowed) to aggressively mace chain its player target
- allowspear allows the bot to lunge towards the player to catch up since it cant sprint jump (if enchanted spear is given) or fly into the player using elytra (if allowed) to do massive amounts of damage
- allowtrident allows the bot to use a riptide enchanted trident to more easily traverse large bodies of water, with which right now (water in general) it struggles
- allowbow exclusively early game rule auto dissabled when elytra and others get allowed to give the bot a chance to do damage from a distance with minimal gear
Gameplay Rules
(used as /bot <name> gameplayrule xxx <true/false>, or all instead of a rule name)
- mobdefense lets the bot defend itself from hostile mobs during any process, on by default
- breathing lets the bot surface for air on its own when it is drowning, on by default
- eating lets the bot care about its hunger and pause whatever it is doing to eat, on by default
- durability keeps a safety margin on tools so they don't shatter, on by default
- mend lets the bot stop and repair its own Mending gear once a tool is down to its last uses, swapping to a spare first if it has one
- draining decides how the bot deals with water while area mining; sponges when it has them, filling it in when it doesn't. on by default
- pickmineitems makes the bot actively try to pick up items dropped from the mine command
- workflowloop makes the bot repeat a workflow forever, returning to the start after every finished cycle
- chainloop makes a finished command chain start again from the top
- biomeseek lets the bot travel to a biome that actually has what it was sent to mine, instead of reporting there is none nearby
- adaptivecrafting lets the bot say what a recipe is missing and then go and mine it, turning pickmineitems on while it is active
- easycontrols right-click the bot to open its control panel, sneak-right-click to stop it. on by default
- visualselect makes the menu ask with a chest of blocks, spawn eggs or player heads instead of asking you to type
Group Commands
(used as /botgroup <group> xxx)
- add puts bots into the group, making the group itself if it does not exist yet (used as /botgroup <group> add <name> <name> <name>)
- remove takes bots back out. the group disappears along with its last member
- any other command /botgroup <group> <anything> runs that command once for every bot in the group, from mining and building to stopping and killing them all at once
- /botgroups lists all of your groups and the bots in them
Positional Commands
(used as /bot <name> storage <build/gather/mend> <coordinates> <radius>)
- storage gather used to tell the bot where to deposit gathered items (from mining or fishing) in case of a full inventory. provide chests or similar
- storage build used to tell the bot where to find materials for builds. provide chests or similar with materials
- storage mend used to tell the bot where its own spare tools and bottles o' enchanting are kept. looked in before the ender chest, and leftover bottles go back into it
Declaration Commands
(used as /<commandhere>)
- declareNetherPortal tells bot a position for a nether portal
- declareEndPortal tells bot a position for an end portal
- automatadebug controls how much the bots say in chat; joinmsg for the message on world join, all for everything else. with all off you still get errors and warnings. perf reports what a bot's pathfinding and mining are costing the server
Bugs and Further Development
- For suggestions, bug reports or questions, feel free to join the discord server
- Nearing the first full release, 1.0.0, bigger updates will become more sparse, bug fixes will still happen often however
- Further internal Bug-Testing sessions are to be held to further optimize results
评论 0
登录后参与评分
还没有评论,来抢沙发吧