Commit Graph
102 Commits
Author SHA1 Message Date
bigguy345 91d3a06742 Created IActionQueue 2025-07-02 20:15:24 +03:00
bigguy345 a588062c98 Added varargs chaining to IActions
i.e schedule(act1,act2,act3...)
2025-07-02 11:50:59 +03:00
bigguy345 f0f1c9c917 More overloads and cleanup 2025-06-30 23:00:22 +03:00
bigguy345 2bcbc98d31 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:43 +03:00
bigguy345 13d32ae425 Adjusted ActionChains 2025-06-30 16:37:40 +03:00
bigguy345 abb8c7bb30 Refactored setUpdateEveryXTick to updateEvery
Added getMaxCount(), once() and times(int n)
2025-06-30 16:35:33 +03:00
bigguy345 f998e8feb4 Canged all the IConditionalAction Supplier<Boolean> instances (condition,terminateWhen,pauseUntil) to Function<IAction,Boolean> 2025-06-30 09:15:33 +03:00
bigguy345 283e3a864d cleared ActionManager on NPC delete 2025-06-30 08:59:50 +03:00
bigguy345 c0aae432d6 INFINITE OVERLOADS !!!!! 2025-06-30 07:15:33 +03:00
bigguy345 34ed095423 Implemented actionThread to IConditionalActions 2025-06-29 21:57:30 +03:00
bigguy345 e14021b4da ActionThread 2025-06-29 21:56:14 +03:00
bigguy345 1b751ad5d2 OVERLOAD !! 2025-06-29 20:57:58 +03:00
bigguy345 65c81997b9 Parallel IAction chain methods 2025-06-29 11:04:13 +03:00
bigguy345 4d8b345a42 IActionManager and IAction QoL 2025-06-29 09:07:08 +03:00
bigguy345 afe45e775b More important ActionThread pausing frameworks and documentation 2025-06-28 19:07:18 +03:00
bigguy345 3efd012ae0 Added ActionThread
IActions can now be threaded using action.threadify()
2025-06-28 09:30:20 +03:00
bigguy345 5c6b16e75f Refactored addData to setData
Added hasData
2025-05-30 04:07:55 +03:00
Kam a869b33edc Fix Some things 2025-05-29 16:25:15 -04:00
Kam 445fc594f3 Update IAction.java 2025-05-15 20:46:30 -04:00
bigguy345 c2cddf85e4 Changed every instance of the word "predicate" to "condition" 2025-04-29 09:08:42 +03:00
bigguy345 40f33b2646 Added IActionChain after(int delay, String name, Consumer<IAction> task) to IActionChain 2025-04-29 09:00:17 +03:00
bigguy345 28cc2d837b Re-ordered ConditionalAction's Supplier<Boolean> terminateWhen arg 2025-04-29 08:53:16 +03:00
bigguy345 6eb08b2c4e Re-ordered ConditionAction constructor params 2025-04-28 10:47:15 +03:00
bigguy345 c9a970adce Action.getManager() 2025-04-28 10:42:46 +03:00
Kam 9590f9ffff Some fixes 2025-04-28 03:24:38 -04:00
bigguy345 d053084ee0 More constructors and setters 2025-04-28 10:09:50 +03:00
bigguy345 06d73d7f11 Added termination task to ConditionalActions
(code that runs when task termination predicate is satisfied)
2025-04-28 09:57:24 +03:00
bigguy345 910ac31bd5 setMaxChecks documentation 2025-04-28 08:24:03 +03:00
bigguy345 5a12178a92 More conditional create and chain methods 2025-04-28 08:17:56 +03:00
bigguy345 d4ad1450e1 Removed redundant args from creation methods/constructors 2025-04-28 08:08:38 +03:00
bigguy345 05c95c96b9 Rewrote conditional action ticking logic 2025-04-28 07:41:28 +03:00
bigguy345 8980850d7c Added more create methods 2025-04-28 07:26:39 +03:00
bigguy345 02d13e45d7 Added before and after chains to IAction 2025-04-28 07:19:58 +03:00
bigguy345 0a26972420 refactored IAction.scheduleAfter and scheduleBefore to just after and before 2025-04-28 06:50:01 +03:00
Kam c3e21bf8c2 IActionChain 2025-04-27 23:10:49 -04:00
Kam f6fac38360 Some fixes and changes to Actions Interfaces! 2025-04-26 20:50:25 -04:00
Kam dfa15687d0 Scripting for Item Attributes, Controller, ItemStack, IPlayer 2025-03-14 05:35:07 -04:00
Kam c7a74a3e0e Revert 2025-03-13 15:36:30 -04:00
bigguy345 c81e848895 ActionManager refactor + more features 2025-03-13 05:35:55 +02:00
Kam 0841aab8f8 Magic Handler APIs + Magic APIs 2025-03-12 22:06:58 -04:00
Kam afb5f1d645 Full Imports and Code Format Optimization 2025-03-12 20:11:39 -04:00
Kam 7d81fc13b5 Faction Passivity 2025-03-06 16:44:43 -05:00
Kam 8c2c226d34 Entity API Documentation 2025-03-06 01:48:39 -05:00
Kam 3593a09d1d Magic Components for NPCs and Players 2025-03-05 19:40:09 -05:00
Kam 18d72cc96c Action & Java Doc Cleanup 2025-03-03 20:05:03 -05:00
Kam dd3d8c552c Custom Effect + Profile API for Scripting 2025-02-21 17:30:38 -05:00
Kam 30ba1bafac op 2025-02-21 06:19:05 -05:00
Kam 7b9e091a30 Update IQuest.java 2025-02-20 22:18:56 -05:00
Kam 0d9abd56f6 Save Linked Item API 2025-02-18 02:14:52 -05:00
Luis C.M. c372a031fb Implemented version change and build events for linked items 2025-02-17 18:01:10 -06:00