@Environment(value=CLIENT) public class RenderTickCounter extends Object
Modifier and Type | Field and Description |
---|---|
float |
lastFrameDuration |
private long |
prevTimeMillis |
float |
tickDelta |
private float |
tickTime |
Constructor and Description |
---|
RenderTickCounter(float tps,
long timeMillis) |
Modifier and Type | Method and Description |
---|---|
int |
beginRenderTick(long timeMillis) |