Mob Brain Additions
作者:TheRedBrain
This API can be used by other mods to give additional functionality to mobs that use the brain system.
介绍
中文介绍正在准备中,下面暂时显示原文。
Mob Brain Additions
This API can be used by other mods to give additional functionality to mobs that use the brain system. It depends on the SmartBrainLib mod, which implements an optimised and expanded version of the vanilla brain system.
Current features
Blocks
- a new (operator only) “Path Finding Node” block, which can save a map of strings and block positions
Memory Types
- “mob_brain_additions:is_near_home”, a unit memory type
Sensor Types
- “mob_brain_additions:is_near_home”, a sensor type that sets the “mob_brain_additions:is_near_home” memory type when the entity is within a configurable radius of its home position. If the entity is further away the “mob_brain_additions:is_near_home” memory type is removed, along with the vanilla walk_target and attack_target memory types
- “mob_brain_additions:update_home_from_path_finding_block”, a sensor type that sets home position of an entity according to a nearby “Path Finding Node Block”. The Path Finding Node Block has block positions mapped to strings. If the entity is an instance of the “TracksPathFindingNodes” interface, it has a “trackedPathFindingNodeId”, which is used to determine which of the block positions of the node block is set aas its new home position.
Behaviours
- the “SetWalkTargetToHomePosition” behaviour sets the look_target and walk_target memories to the home position of the entity
- the “TargetOrRetaliateWhenNearHome” behaviour works very similar to the existing “TargetOrRetaliate” behaviour, but it only runs when the entity has the “mob_brain_additions:is_near_home” memory. Additionally, the target has to be near the entities home position. The maximum distance is configurable.
常见问题
Mob Brain Additions 支持哪些 Minecraft 版本?
Mob Brain Additions 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Mob Brain Additions 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
TheRedBrain 的其他作品
查看全部 →Shield API
by TheRedBrain
制作带有自定义模型的盾牌,从未如此简单!
1452万
1 个月前
Modrinth · CurseForge
Bundle API
by TheRedBrain
Bundle API 让模组作者可以轻松添加容量超过一组物品的收纳袋,袋中可存放由物品标签指定的物品。
333.1万
1 个月前
Modrinth · CurseForge
Better Combat Extension
by TheRedBrain
为“Better Combat”模组添加更多功能。
18.9万
3 个月前
CurseForge
Slot Customization API
by TheRedBrain
一个小型前置库,让模组能够动态调整物品栏槽位的位置,并启用或禁用槽位。
13.9万
6 个月前
CurseForge
评论
登录后评论和评分