mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Parallel IAction schedulers
This commit is contained in:
1 parent
e03af5e76f
commit
213c9069de
1 file changed
+13
@@ -276,6 +276,19 @@ public class ScriptedActionManager implements IActionManager {
|
||||
parallelActions.add(action);
|
||||
return action;
|
||||
}
|
||||
@Override
|
||||
public IAction scheduleParallelAction(String name, Consumer<IAction> task) {
|
||||
return scheduleParallelAction(create(name, task));
|
||||
}
|
||||
@Override
|
||||
public IAction scheduleParallelAction(String name, int startAfterTicks, Consumer<IAction> task) {
|
||||
return scheduleParallelAction(create(name, startAfterTicks, task));
|
||||
}
|
||||
|
||||
@Override
|
||||
public IAction scheduleParallelAction(String name, int maxDuration, int startAfterTicks, Consumer<IAction> task) {
|
||||
return scheduleParallelAction(create(name, maxDuration, startAfterTicks, task));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user