-Now restructured to use IModelPart to modify puppet parts. -Old functions have been marked as deprecated, but still work.
External API for scripting and to allow mods/plugins to hook into CustomNPC+
Basically just download the api code and include it in your mod.
In your mod you can check if CustomNPC+ is installed with NpcAPI.IsAvailable()
NpcAPI.IsAvailable()
To use the events, register your events with NpcAPI.Instance().events().register(youreventclass)
NpcAPI.Instance().events().register(youreventclass)
JavaDocs: https://kamkeel.github.io/CustomNPC-Plus/