a buncha IAction adjustments

This commit is contained in:
bigguy345 committed 2025-07-05 10:19:10 +03:00
1 parent e5c347e0a4
commit 14f7bd3dd4
4 files changed
+34 -1

No files matched your search

@@ -134,6 +134,7 @@ public interface IAction {
*/
int getUpdateEvery();
/**
* Set how many ticks between each execution of the action task.
*
@@ -141,6 +142,18 @@ public interface IAction {
*/
IAction updateEvery(int ticks);
/**
* Executes task every tick (Sets updateEvery to 1)
* @return
*/
IAction everyTick();
/**
* Executes task every second (Sets updateEvery to 20)
* @return
*/
IAction everySecond();
/**
* @return how many ticks remain before the action begins (initial delay)
*/