public class TickTimer
extends java.lang.Object
implements mezz.jei.api.gui.ITickTimer
Constructor and Description |
---|
TickTimer(int ticksPerCycle,
int maxValue,
boolean countDown) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxValue() |
int |
getValue() |
static int |
getValue(long startTime,
long currentTime,
int maxValue,
int msPerCycle,
boolean countDown) |
public int getValue()
getValue
in interface mezz.jei.api.gui.ITickTimer
public int getMaxValue()
getMaxValue
in interface mezz.jei.api.gui.ITickTimer
public static int getValue(long startTime, long currentTime, int maxValue, int msPerCycle, boolean countDown)