
NFF Services (Previous BefriendMobs Framework)
Активный0.0
Установок
Последнее обновление
NOTE: This lib is undergoing rename and major refactor from previous BefriendMobs, so it's temporarily closed and will not update until all refactor is done. Before reopening, the framework's code will be embedded in Days with Monster Girls.
================================================================================================
NFF Services (previously BefriendMobs Framework) is a framework allowing modders to easily create friendly/tamed mobs and to add taming features for existing non-tamable mobs.
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 NFF Services 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/NFF-Services
For coding tutorial, see Github Wiki. (Under construction now)
For example mod, see: https://www.curseforge.com/minecraft/mc-mods/nff-girls
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)