Skip to content

适用于 Minecraft 1.16.5, 26.3 的 SmartBrainLib 模组

一个 Minecraft 大脑库,让大脑系统更易于使用和管理

起价 Tslat · Modrinth
次下载
4 次下载
次浏览
87 次浏览
已更新
已更新 05.10.2026

关于 SmartBrainLib 模组

一个为 Minecraft 打造的大脑库,让大脑系统更易于使用和管理。

这是什么?

Minecraft 中的大脑系统是 Mojang 引入的一套近乎神秘的新实体 AI 系统,用于处理更复杂的生物,并支持更高级的实体处理。

遗憾的是,Mojang 的实现有所欠缺,而且过于复杂。

此外,它的实现方式也相当低效,这意味着总体而言,这套系统并不值得用来取代现有的目标系统。

本库旨在彻底改造大脑系统,使其真正可用且可配置。

但请注意,现有的目标系统表面上仍然更简单——大脑系统是为更复杂的交互而设计的,不过用它做实验也很有趣。

那么 SmartBrainLib 能做什么?

SBL 采用多方面的方式来处理大脑系统,并会随着我的使用不断扩展和改进。

以下是它的主要特性:

自动处理记忆类型

不必再费心弄清楚要为你的实体注册哪些记忆模块。

动态传感器

传感器现在可以动态配置和处理。这允许实现更高级、更灵活的传感器。

高级行为

使用内置行为,或基于可扩展的行为类创建新行为,该类内置了回调、断言、冷却等功能。

运行时安全的行为修改

从现有实体动态添加、移除和修改行为。

优化

SBL 替换了原版大脑系统几乎全部的功能,使用高效函数尽可能消除大脑中各个区域的低效之处。如果使用得当,SBL 实体甚至可能比使用目标系统的实体更高效!

额外的传感器、行为和记忆类型

SBL 内置了可供任何实体使用的额外模块,未来还会不断增加。

新增的实用函数

除了预期的大脑功能外,SBL 还额外添加了一些辅助工具,例如:

  • 优化过的关卡实体获取函数
  • 对开发者友好的 Random 库
  • 用于从非 SBL 实体添加/移除大脑内容的大脑接口工具

我该如何使用它?

该库的文档位于其 Wiki 页面

如果你遇到问题或想做出贡献,请前往 Github 页面并发出你的声音

如何安装 SmartBrainLib

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.16.5–26.3 on Fabric, Forge or NeoForge automatically, together with its dependencies: Fabric API.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric, Forge or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file smartbrainlib-neoforge-26.3-2.0.3.jar (503 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it. Required dependencies go there too: Fabric API.

  4. Launch the loader profile

    Open “Mods” in the main menu: SmartBrainLib should be in the list.

On a server

  1. A server on Fabric, Forge or NeoForge

    The mod only works on a server with the same loader and game version, for example 26.3.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件日期操作
26.1.2NeoForge26.1.2503 KB
26.1.2Forge26.1.2507 KB
26.1.2Fabric26.1.2510 KB
26.2NeoForge26.2503 KB
26.2Forge26.2507 KB
26.2Fabric26.2506 KB
26.3NeoForge26.3503 KB
26.3Forge26.3507 KB

评价

成为第一个评价 SmartBrainLib 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: Tslat许可证: MPL-2.0源代码

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。