mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 21:05:07 +00:00
setMaxChecks documentation
This commit is contained in:
1 parent
5a12178a92
commit
910ac31bd5
1 file changed
+5
-3
@@ -7,11 +7,13 @@ import java.util.function.Supplier;
|
||||
|
||||
public interface IConditionalAction extends IAction {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param maxChecks maximum times to test predicate before auto‐cancelling
|
||||
* @return this action
|
||||
*/
|
||||
IConditionalAction setMaxChecks(int maxChecks);
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////
|
||||
//Before chains
|
||||
IConditionalAction after(IConditionalAction after);
|
||||
|
||||
IConditionalAction after(Supplier<Boolean> predicate, Consumer<IAction> task);
|
||||
|
||||
Reference in new issue
Block a user