Package noppes.npcs.api.handler.data
Interface IActionChain
-
public interface IActionChain
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IActionChainafter(int delay, java.lang.String name, java.util.function.Consumer<IAction> task)IActionChainafter(int delay, java.util.function.Consumer<IAction> task)java.lang.StringgetName()IActionQueuegetQueue()IActionChainsetName(java.lang.String name)IActionChainstart()Start IActionManager
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
setName
IActionChain setName(java.lang.String name)
- Parameters:
name- of chain- Returns:
-
getQueue
IActionQueue getQueue()
- Returns:
- queue this chain is scheduled on
-
after
IActionChain after(int delay, java.lang.String name, java.util.function.Consumer<IAction> task)
- Parameters:
delay- ticks between an IAction and anothername- name of IActiontask- task of IAction- Returns:
-
after
IActionChain after(int delay, java.util.function.Consumer<IAction> task)
-
start
IActionChain start()
Start IActionManager- Returns:
-
-