Parallel IAction schedulers

This commit is contained in:
bigguy345 committed 2025-06-29 09:55:13 +03:00
1 parent 50f30f3678
commit 131abe70b4
1 file changed
+13
@@ -305,8 +305,21 @@ public interface IActionManager {
*/
boolean hasConditional(String name);
/**
* Schedules actions on the parallelQueue, where all actions are executed simultaneously
*
* @param action
* @return
*/
IAction scheduleParallelAction(IAction action);
IAction scheduleParallelAction(String name, Consumer<IAction> task);
IAction scheduleParallelAction(String name, int startAfterTicks, Consumer<IAction> task);
IAction scheduleParallelAction(String name, int maxDuration, int startAfterTicks, Consumer<IAction> task);
IActionChain chain();
IActionChain parallelChain();