mirror of
https://github.com/neoforged/NeoForge.git
synced 2026-10-12 02:19:42 +00:00
Co-Authored-By: Dennis C <[email protected]> Co-Authored-By: RogueLogix <[email protected]>
16 lines
448 B
Diff
16 lines
448 B
Diff
--- a/net/minecraft/client/ClientClockManager.java
|
|
+++ b/net/minecraft/client/ClientClockManager.java
|
|
@@ -46,6 +_,12 @@
|
|
return this.getInstance(definition).totalTicks;
|
|
}
|
|
|
|
+
|
|
+ @Override
|
|
+ public float getPartialTick(Holder<WorldClock> definition) {
|
|
+ return this.getInstance(definition).partialTick;
|
|
+ }
|
|
+
|
|
private static class ClockInstance {
|
|
private long totalTicks;
|
|
private float partialTick;
|