OVERLOAD !!

This commit is contained in:
bigguy345 committed 2025-06-29 20:57:58 +03:00
1 parent 30f3e562c8
commit 1b751ad5d2
1 file changed
+4 -2
@@ -42,8 +42,8 @@ public interface IAction {
/**
* @return the maximum number of ticks this action is allowed to run before auto-terminating
*
* P.S: If the max duration is reached and this IAction is threaded using {@link #threadify()} and the thread is paused using any of the pausing methods,
* the thread is forcibly resumed and finishes the task execution once.
* P.S: If max duration is reached and this IAction's thread (created using {@link #threadify()}) is paused by any of the pausing methods,
* the thread is forcibly resumed and finishes the task execution.
*/
int getMaxDuration();
@@ -167,6 +167,8 @@ public interface IAction {
IAction parallel(String name, int startAfterTicks, Consumer<IAction> task);
IAction parallel(String name, int maxDuration, int delay, Consumer<IAction> t);
/**
* Enqueue another action immediately after this one.
*