mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 03:44:43 +00:00
e13c6762f39d5f48c7f2333fc203765f876dbfa3
Allows for scripting the scheduling of runnable methods in sequence within the NPC's AI An example sequence of tasks: 1. Dashes towards player (might take 3-5 seconds, doesn't matter, task durations are dynamic so it can take as long as it needs). 2. Punches player away 3. Waits 10 ticks - Fires a ki blast 4. Teleports behind player 5. Knocks player out
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
Description
Pull mirror of github.com/KAMKEEL/CustomNPC-Plus-API - nested submodule src/api of CustomNPC-Plus (branch dev).
1,003 KiB
0 Stars
2 Watchers
0 Forks
Languages
Java
100%