Commit Graph
3089 Commits
Author SHA1 Message Date
bigguy345 393a7fbb56 Added varargs chaining to IActions
i.e schedule(act1,act2,act3...)
2025-07-02 11:51:00 +03:00
Kam b3c9c24f42 Merge pull request #168 from KAMKEEL/codex/implement-shift-click-in-containernpcbankinterface
Enable shift-click transfer in bank container
2025-06-30 22:10:36 -04:00
Kam 0b2c3f6ca9 Implement shift-click support in bank container 2025-06-30 22:10:00 -04:00
Kam a03c4eb712 Merge pull request #167 from KAMKEEL/codex/fix-dialog-close-event-bug
Ensure dialog close event is always fired
2025-06-30 22:06:11 -04:00
Kam 2c4a183c30 Send dialog close packet on GUI shutdown 2025-06-30 22:05:57 -04:00
Kam c1da5c080f Merge pull request #166 from KAMKEEL/codex/fix-faction-passive-and-mob-attack-issue
Fix passive faction toggle bug
2025-06-30 22:02:56 -04:00
Kam 253de25d5b Fix passive faction toggle 2025-06-30 22:02:43 -04: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
Kam 9f556ea045 Merge pull request #164 from KAMKEEL/codex/fix-race-condition-in-profile-system
Fixes Profile Race Condition Issues
2025-06-30 21:57:52 -04:00
Kam 6829547d3a Copy slot NBT when loading 2025-06-30 21:57:29 -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 cef0dfe45f forgor class :broken_heart_emoji: 2025-06-30 09:18:56 +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 f86db24def IEntity.getCollidingEntities 2025-06-29 22:30:15 +03:00
bigguy345 8496c5bff2 Merge remote-tracking branch 'upstream/dev' into dev 2025-06-29 21:58:06 +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
Kam 63d019dfd0 Update api 2025-06-29 14:49:24 -04:00
Kam 5dad2f13de Update build.gradle 2025-06-29 14:46:08 -04:00
Kam 38153e72d0 Merge pull request #162 from KAMKEEL/codex/add-default-action-clearing-on-death
Add config to clear Action Manager on death
2025-06-29 14:41:17 -04:00
Kam 585ebdcc2f Add config for clearing action manager on death 2025-06-29 14:40:49 -04:00
Kam 8296a008d4 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2025-06-29 14:32:26 -04:00
Kam 5d4721dc20 Public 2025-06-29 14:32:24 -04: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 5994206abd More schedulers and overloading methods !!!! 2025-06-29 11:22:43 +03:00
bigguy345 6bb1741025 Parallel IAction chain methods 2025-06-29 11:04:14 +03:00
bigguy345 213c9069de Parallel IAction schedulers 2025-06-29 09:55:14 +03:00
bigguy345 e03af5e76f Vastly improved ActionThread 2025-06-29 09:47:07 +03:00
bigguy345 fa9e5cdfe5 More IActionManager and IAction QoL !!! 2025-06-29 09:44:20 +03:00
bigguy345 8ee35e8088 IActionManager and IAction QoL 2025-06-29 09:07:09 +03:00
bigguy345 dd4b0c8b4b ActionManager no longer cleared on entity's death/reset 2025-06-28 19:10:15 +03:00
bigguy345 203a794950 ActionManager.getAction(name) 2025-06-28 19:07:37 +03:00
bigguy345 70cc7b75e4 More important ActionThread pausing frameworks and documentation 2025-06-28 19:07:19 +03:00
bigguy345 e001beb6ba Added global API.getActionManager() 2025-06-28 10:06:14 +03:00
bigguy345 6de09c1ee4 Added player's ActionManager getter to API 2025-06-28 09:38:38 +03:00