mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 05:34:44 +00:00
20 lines
784 B
Markdown
20 lines
784 B
Markdown
# CustomNPC-Plus-API
|
|
|
|
External API for scripting and to allow mods/plugins to hook into CustomNPC+
|
|
|
|
## How to use in a Mod
|
|
|
|
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()`
|
|
|
|
To use the events, register your events with `NpcAPI.Instance().events().register(youreventclass)`
|
|
|
|
## Extra
|
|
|
|
JavaDocs: https://kamkeel.github.io/CustomNPC-Plus/
|
|
|
|
[](https://discord.gg/pQqRTvFeJ5)
|
|
|
|
[](https://www.curseforge.com/minecraft/mc-mods/customnpc-plus)
|