mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 13:04:47 +00:00
Rewrote conditional action ticking logic
This commit is contained in:
1 parent
8980850d7c
commit
05c95c96b9
2 files changed
+11
No files matched your search
@@ -2,6 +2,7 @@ package noppes.npcs.api.handler;
|
||||
|
||||
import noppes.npcs.api.handler.data.IAction;
|
||||
import noppes.npcs.api.handler.data.IActionChain;
|
||||
import noppes.npcs.api.handler.data.actions.IConditionalAction;
|
||||
|
||||
import java.util.Queue;
|
||||
import java.util.function.Consumer;
|
||||
@@ -197,5 +198,7 @@ public interface IActionManager {
|
||||
scheduleConditionalAction(name, checkIntervalTicks, predicate, task, maxChecks);
|
||||
}
|
||||
|
||||
IConditionalAction scheduleConditionalAction(IConditionalAction action);
|
||||
|
||||
IActionChain chain();
|
||||
}
|
||||
Reference in new issue
Block a user