diff --git a/core/src/main/java/com/seibel/distanthorizons/core/api/internal/rendering/DhRenderState.java b/core/src/main/java/com/seibel/distanthorizons/core/api/internal/rendering/DhRenderState.java
index fc1b6d691..167596001 100644
--- a/core/src/main/java/com/seibel/distanthorizons/core/api/internal/rendering/DhRenderState.java
+++ b/core/src/main/java/com/seibel/distanthorizons/core/api/internal/rendering/DhRenderState.java
@@ -13,7 +13,19 @@ public class DhRenderState
{
public Mat4f mcModelViewMatrix = null;
public Mat4f mcProjectionMatrix = null;
- public float frameTime = -1;
+ /**
+ * percentage of time into the current client tick.
+ *
+ * Can be converted to a millisecond frametime
+ * (IE time between frames in milliseconds) using the formula:
+ *
+ * (partialTickTime/20*1000)
+ *
+ * IE 60 FPS = 16.6 MS
+ *
+ * @link https://fpstoms.com/
+ */
+ public float partialTickTime = -1;
public IClientLevelWrapper clientLevelWrapper = null;
@@ -38,7 +50,7 @@ public class DhRenderState
errorReasons += "no Projection Matrix, ";
}
- if (this.frameTime == -1)
+ if (this.partialTickTime == -1)
{
errorReasons += "no Frame Time, ";
}