diff --git a/java/noppes/npcs/api/handler/data/IAction.java b/java/noppes/npcs/api/handler/data/IAction.java index 060ad45..a68f004 100644 --- a/java/noppes/npcs/api/handler/data/IAction.java +++ b/java/noppes/npcs/api/handler/data/IAction.java @@ -101,6 +101,16 @@ public interface IAction { */ IAction after(IAction after); + IAction after(String name, int maxDuration, int delay, Consumer t); + + IAction after(String name, int delay, Consumer t); + + IAction after(int delay, Consumer t); + + IAction after(String name, Consumer t); + + IAction after(Consumer t); + /** * Enqueue another action immediately before this one (pausing this one until done). * @@ -119,4 +129,14 @@ public interface IAction { * @return the maximum number of checks before auto‐expiring, or –1 if unlimited */ int getMaxChecks(); + + IAction before(String name, int maxDuration, int delay, Consumer t); + + IAction before(String name, int delay, Consumer t); + + IAction before(int delay, Consumer t); + + IAction before(String name, Consumer t); + + IAction before(Consumer t); }