mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 14:14:48 +00:00
Parallel IAction schedulers
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user