Added Execution Indicator

This commit is contained in:
IM23a-spirgif
2025-04-24 20:07:08 +02:00
parent 53eb3f3895
commit dd5a7c813b
5 changed files with 92 additions and 26 deletions
@@ -0,0 +1,17 @@
package net.fretux.knockedback.client;
public class ClientExecutionState {
private static int timeLeft = 0;
public static void setTimeLeft(int ticks) {
timeLeft = ticks;
}
public static int getTimeLeft() {
return timeLeft;
}
public static boolean isExecuting() {
return timeLeft > 0;
}
}