介绍
BefriendMobs Framework is intended to help modders easily create features of befriending (or say taming) mobs and friendly mobs despite their type hierarchy.
For example, most vanilla tamable mobs (e.g. wolf) inherit TamableMob class. If you want to make hostile mobs (e.g. Zombie) friendly or tamed, only using vanilla API it may become complex. Then you can easily create a subclass of Zombie (or anything else extends Mob) with BefriendMobs without using any vanilla TamableMob interfaces, and without considering about the type hierarchy of the existing mobs.
Note: This lib is still in development and the API may change on update, so it’s not recommended to use this lib for development NOW. If it must be used, it’s recommended to specify the lib version in the mod instead of giving a range.
Github: https://github.com/SodiumZH/Befriend-Mobs
For example depending mod, see: https://modrinth.com/mod/befriendmobs-days-with-monster-girls
For earlier versions, see: https://www.curseforge.com/minecraft/mc-mods/befriendmobs
It’s always welcomed to request for more features, especially when position where you want to insert code doesn’t provide an event, or properties you expect to be variable is hard-coded.
QQ Group ID: 336794947 (Chinese language)
常见问题
BefriendMobs Framework 支持哪些 Minecraft 版本?
BefriendMobs Framework 支持 Minecraft Java 版 1.18.2–1.20.1,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
BefriendMobs Framework 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分