mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 13:44:43 +00:00
Update README.md
This commit is contained in:
1 parent
989326faae
commit
0c4db676e4
1 file changed
+14
@@ -1,2 +1,16 @@
|
||||
# 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)
|
||||
Reference in new issue
Block a user