Commit Graph
503 Commits
Author SHA1 Message Date
bigguy345 cc0959dcfe Added run(EnumScriptType, Event) and
run(String, Event) methods to IScriptUnit interface, with JaninoScript
delegating to callByHookType(). This provides a cleaner abstraction that
supports both ScriptContainer and JaninoScript without type checking.

Affected files:
- IScriptUnit: Added run() methods to interface
- JaninoScript: Implemented run() delegation methods
- DataScript, PlayerDataScript, GlobalNPCDataScript, ForgeDataScript
- EffectScript, LinkedItemScript, RecipeScript
- ScriptCustomItem, TileScripted: Refactored to use polymorphic calls
2026-01-14 00:16:58 +02:00
bigguy345 cd60a03544 Moved all INpcScriptHandler implementations to IScriptHandler as its redundant 2026-01-13 23:45:14 +02:00
bigguy345 73db727c47 Deleagted all ScriptContainer NBT based creation to IScriptUnit.createFromNBT 2026-01-13 22:16:51 +02:00
bigguy345 cd92c340c7 resolved merge conflicts with dev 2026-01-13 18:25:37 +02:00
bigguy345 c3e032dcf2 Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation 2026-01-13 18:25:28 +02:00
bigguy345 60af203165 Renamed to moveFromGlobalToLocal 2026-01-05 20:32:18 +02:00
bigguy345 e8ef60deb4 Important IAnimation takeTasksFrom global instance in AnimationController to local instance in entity AnimationData 2026-01-05 20:25:34 +02:00
bigguy345 db0aa94a3a IAnimation instead of Animation 2026-01-05 20:17:55 +02:00
bigguy345 eb660b38ae Added IAnimation consumers to API 2026-01-05 17:14:45 +02:00
bigguy345 68681931f8 Animation Data Store (for cross event/frame data handling) 2026-01-05 16:53:58 +02:00
bigguy345 a33acee117 Added Animation task consumers (much better than animation events) 2026-01-05 16:49:48 +02:00
Kam 592a910cbc Add some more Attack Speed Handling 2025-12-30 19:29:44 -05:00
Kam 2065d5dde5 Merge branch 'mount-movement-fix' into dev 2025-12-30 17:49:27 -05:00
lonewolf8351 0b2bf5fd04 added attack speed parameter to linked Items 2025-12-03 13:44:56 -05:00
Kam 9744209938 Refactor mount helpers and expose NPC flight state 2025-11-07 20:15:49 -05:00
Kam db09c9a44f Handle null results in conditional actions 2025-10-31 17:57:13 -04:00
bigguy345 111f16647d ActionManager.scheduleParallel not feeding name arg properly 2025-10-15 23:09:20 +03:00
Kam b6b4b20ba8 Prevent NPE when party leader name missing 2025-07-28 13:27:57 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam b60d6f8eb5 Fix Logging 2025-07-23 05:13:11 -04:00
Kam bacfb5eba0 Create First Push of Recipe Events 2025-07-09 15:40:31 -04:00
Kam 1b76f1ab7e IActionListener Comments 2025-07-08 16:34:34 -04:00
Kam 131815ff06 Oof 2025-07-08 14:38:51 -04:00
bigguy345 994cadfc3b IActionListener W.I.P 2025-07-08 21:31:55 +03:00
bigguy345 91dc56bf87 Moved NpcAPI.actionManager to ActionManager.GLOBAL 2025-07-08 14:34:39 +03:00
bigguy345 70f0ab1e6f ActionQueue.stopWhenEmpty 2025-07-08 14:22:49 +03:00
bigguy345 b37f9a7ea4 Added Action.getIdentifier 2025-07-08 12:00:37 +03:00
bigguy345 b6ac84d4c4 oops 2025-07-08 11:59:22 +03:00
bigguy345 7c24caf004 More ActionLogger and ActionThread optimisations 2025-07-08 11:34:32 +03:00
bigguy345 fe786babc6 IAction optimisations 2025-07-07 22:41:58 +03:00
bigguy345 d58b4bb905 ActionLogger !! 2025-07-07 21:22:34 +03:00
bigguy345 e186bb0bd0 Implemented debug mode for ActionQueue and ActionManager 2025-07-07 13:39:45 +03:00
bigguy345 e6d4e1f3fd ActionManager name 2025-07-07 13:21:39 +03:00
bigguy345 5cb5e3da85 ActionManager DEBUG MODE
Implemented for Actions
2025-07-07 13:08:51 +03:00
bigguy345 25ab7b2f71 IActionQueue ticking Optimisations 2025-07-07 12:23:34 +03:00
bigguy345 3e6b37ac05 action.copyDataTo(IAction copyTo) 2025-07-07 00:21:51 +03:00
bigguy345 835b32daa1 Added onStart(task) and onDone(task) for IAction 2025-07-06 23:59:31 +03:00
bigguy345 8d63134a72 Improved debugging 2025-07-06 23:57:20 +03:00
bigguy345 ffd331fbc5 More debugging stuff 2025-07-06 23:29:25 +03:00
bigguy345 5e48063311 Added print debugging dump methods for most IAction framework components 2025-07-06 10:56:29 +03:00
bigguy345 253bfd7e17 Revamped before() and after() chaining of unscheduled IActions 2025-07-05 22:50:38 +03:00
bigguy345 7786d8e271 a buncha IAction adjustments 2025-07-05 10:19:11 +03:00
bigguy345 44d76b638d Minor changes 2025-07-04 00:10:12 +03:00
bigguy345 50aedd8f56 IActionQueue methods to IActionManager 2025-07-03 23:52:05 +03:00
bigguy345 c147250784 Renamed killAfter to killWhenEmptyAfter 2025-07-03 23:45:16 +03:00
bigguy345 a8a8094d7e oops 2025-07-03 23:17:25 +03:00
bigguy345 33b5de833d forghoer 2025-07-03 18:40:24 +03:00
bigguy345 e0c9bfffa5 Fixed updateEveryXTicks being inconsistent due to using entity's ticksExisted. IAction instances now track their own tick 2025-07-03 18:29:53 +03:00
bigguy345 7e1374d96a Adjusted ActionQueue killing logic 2025-07-03 18:07:18 +03:00
bigguy345 ad4aac1e43 Added killWhenEmpty and killAfterTicks to IActionQueue 2025-07-02 22:35:39 +03:00