Skip to content

[1.21_neo] Fix: Use the right api for partial ticks#162

Open
Toby406 wants to merge 1 commit intoMcJtyMods:1.21_neofrom
Toby406:1.21_neo
Open

[1.21_neo] Fix: Use the right api for partial ticks#162
Toby406 wants to merge 1 commit intoMcJtyMods:1.21_neofrom
Toby406:1.21_neo

Conversation

@Toby406
Copy link
Copy Markdown

@Toby406 Toby406 commented Jul 18, 2025

Following the 1.21 Migration Guide the net.minecraft.client.Minecraft.getFrameTime() method is replaced by net.minecraft.client.Minecraft.getTimer().getGameTimeDeltaPartialTick(false).

Currently getFrameTimeNs() also outputs way to high numbers and breaks rendering?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant