BefriendMobs Framework
BefriendMobs Framework is a specialized library that significantly simplifies the process of creating friendly mobs in Minecraft. This tool allows mod developers to easily add taming and friendship functionality to any creatures, regardless of their original class hierarchy.
Main Features
In the standard version of Minecraft, most tamable creatures (such as wolves) inherit from the TamableMob class. However, if you want to make hostile mobs like zombies friendly using only the game's basic tools, this can become a complex task. With BefriendMobs Framework, you can simply create a subclass for any mob extending the base Mob class, without resorting to standard TamableMob interfaces and without considering the existing type hierarchy.
Important Information
It should be noted that the library is under active development, and its API may change with updates. Currently, it is not recommended for full-scale development use. If you still decide to use it, it's better to specify the exact library version in your mod rather than a version range.
Developers welcome suggestions for adding new features, especially in cases where the required code insertion point doesn't provide events, or when necessary properties are hard-coded in the game.