mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 04:54:44 +00:00
a buncha IAction adjustments
This commit is contained in:
1 parent
e5c347e0a4
commit
14f7bd3dd4
4 files changed
+34
-1
No files matched your search
@@ -6,10 +6,25 @@ public interface IActionChain {
|
||||
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* @param name of chain
|
||||
* @return
|
||||
*/
|
||||
IActionChain setName(String name);
|
||||
|
||||
/**
|
||||
*
|
||||
* @return queue this chain is scheduled on
|
||||
*/
|
||||
IActionQueue getQueue();
|
||||
|
||||
/**
|
||||
*
|
||||
* @param delay ticks between an IAction and another
|
||||
* @param name name of IAction
|
||||
* @param task task of IAction
|
||||
* @return
|
||||
*/
|
||||
IActionChain after(int delay, String name, Consumer<IAction> task);
|
||||
|
||||
IActionChain after(int delay, Consumer<IAction> task);
|
||||
|
||||
Reference in new issue
Block a user