Commit Graph
471 Commits
Author SHA1 Message Date
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
bigguy345 fc6c56e40d Added Custom IActionQueues to ActionManager 2025-07-02 22:07:15 +03:00
bigguy345 c10b37f01d Overhauled IActionChain 2025-07-02 21:46:44 +03:00
bigguy345 c976b488f1 Re-organised Action class 2025-07-02 21:25:58 +03:00
bigguy345 c1cfcc19d5 Implemented ActionQueue to Action 2025-07-02 21:14:58 +03:00
bigguy345 25e6f39afd Rewrote ActionManager with the new IActionQueue framework 2025-07-02 20:56:54 +03:00
bigguy345 6cc9aa0e78 Created IActionQueue 2025-07-02 20:15:24 +03:00
bigguy345 e2f12f4bbf Refactored Action classes into appropriate packages 2025-07-02 19:59:33 +03:00
bigguy345 3e16c0a0d8 ActionManger start()/stop() return IActionManager 2025-07-02 19:55:28 +03:00
bigguy345 393a7fbb56 Added varargs chaining to IActions
i.e schedule(act1,act2,act3...)
2025-07-02 11:51:00 +03:00
Kam 54f85c0012 Merge pull request #165 from KAMKEEL/codex/fix-mob-spawner-bug
Fix NPE when mob spawner reads NPC animations
2025-06-30 21:58:57 -04:00
Kam ba28f62d74 Fix NPE in AnimationData when world object is missing 2025-06-30 21:58:45 -04:00
bigguy345 67926477be More overloads and cleanup 2025-06-30 23:00:23 +03:00
bigguy345 0e8db79605 Fixed IConditional's task firing with latency after code that must come after it due to thread delegation 2025-06-30 22:34:38 +03:00
bigguy345 8b4892cb35 Scheduled conditionals properly using after(), before() and sequential schedule() 2025-06-30 20:14:08 +03:00
bigguy345 e69bbd13b0 Action.after() and before() now properly work for unscheduled actions (Actions store a queue of actions to enqueue before/after them on their scheduling) 2025-06-30 20:10:44 +03:00
bigguy345 7ea05e4ecc Refactored ScriptedActionManager to ActionManager, moved to same package as Actions 2025-06-30 18:13:31 +03:00
bigguy345 2bb1df968b Improved ParallelActionChain 2025-06-30 17:50:10 +03:00
bigguy345 7928c189ad Fixed delay incorrectly calculated for sequential IActionChain 2025-06-30 16:52:17 +03:00
bigguy345 47dc56c25e Adjusted ActionChains 2025-06-30 16:37:41 +03:00
bigguy345 a52c676fcb Refactored setUpdateEveryXTick to updateEvery
Added getMaxCount(), once() and times(int n)
2025-06-30 16:35:34 +03:00
bigguy345 f6e0cd8add Refactored scheduleAction to schedule 2025-06-30 09:28:31 +03:00
bigguy345 31a25acd20 Canged all the IConditionalAction Supplier<Boolean> instances (condition,terminateWhen,pauseUntil) to Function<IAction,Boolean> 2025-06-30 09:15:34 +03:00
bigguy345 bc2bab889d cleared ActionManager on NPC delete 2025-06-30 08:59:51 +03:00
bigguy345 6a04a0ea28 IAction exceptions now report to CNPC+ script console 2025-06-30 08:21:50 +03:00
bigguy345 74198534af INFINITE OVERLOADS !!!!! 2025-06-30 07:15:34 +03:00
bigguy345 f662d8416e Implemented actionThread to IConditionalActions 2025-06-29 21:57:31 +03:00
bigguy345 78bb39e4c7 ActionThread 2025-06-29 21:56:15 +03:00
bigguy345 bdbf30d328 Another ActionThread overhaul 2025-06-29 21:06:15 +03:00
bigguy345 772fc5ef6d Refactor 2025-06-29 20:59:43 +03:00
bigguy345 c31843c318 OVERLOAD !! 2025-06-29 20:57:59 +03:00
bigguy345 6bb1741025 Parallel IAction chain methods 2025-06-29 11:04:14 +03:00
bigguy345 e03af5e76f Vastly improved ActionThread 2025-06-29 09:47:07 +03:00