Commit Graph
20 Commits
Author SHA1 Message Date
bigguy345 e13c6762f3 Added Scheduled Tasks system for NPC scripting.
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
2025-03-03 23:59:48 +02:00
Luis C.M. 8ced18ec84 Animation events API changes 2025-01-22 15:31:11 -06:00
luisc 9fdd2c667e Fixed changes from api-changes being dragged into the dev branch. Created a new api-changes branch in the api repo. 2024-09-24 13:16:06 -05:00
Kam 9f59b8843e Revert "Implemented animation events and made some event classes abstract."
This reverts commit cd180e4520.
2024-09-23 13:56:50 -04:00
Luis C.M. 73d88e627b Fixed getters for flying, don't take a parameter anymore. 2024-09-02 21:41:32 -05:00
Luis C.M cd180e4520 Implemented animation events and made some event classes abstract. 2024-03-24 17:03:58 -05:00
Kam 8acb2a25a0 Get Left Item Typo Fix 2024-03-20 13:22:59 -04:00
Kam 9116956474 Remove All FernFlower references 2024-03-17 23:17:19 -04:00
Kam 8eaf18696b Fix Combat Policy Comments 2024-03-13 20:44:52 -04:00
Kam 021a35e25d SwingWarmup API 2024-02-12 03:14:35 -05:00
Kam a5dcba72db New Attack Functions
- Knockback [GET/SET]
- Melee Range [GET/SET]
- Aggro Range [GET/SET]
2024-02-10 18:22:58 -05:00
Kam 30a6c37277 Add Combat Policy changes to API 2024-01-25 20:17:46 -05:00
Luis C.M 8c064246f8 Added line support for ICustomNpc 2023-12-03 20:48:36 -06:00
luisc 67aa9e7cb3 Implemented get/setDialog functions for ICustomNpc. 2023-11-30 15:29:34 -06:00
Luis C.M 140b16d52f Moved model scale parts into a single ModelScale class, similar to ModelRotate.
Added NPC model data interfaces to the API.
2023-03-17 02:36:27 -05:00
Luis C.M 33e471871a Animation overhaul, along with animation changes to the API. 2023-01-16 13:53:14 -06:00
Luis C.M 1bff2eddfe Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
2023-01-11 19:12:52 -06:00
KAMKEEL 8e7f085774 setMovingType and getMovingType 2023-01-08 17:32:12 -05:00
Luis C.M f481602612 More fixes to global NPC scripts not executing on servers, and added more functions to IEntityLivingBase. 2022-12-24 01:46:43 -06:00
KAMKEEL 95e2f9df01 Add CNPC+ Api 2022-11-25 00:57:24 -05:00