-
Bug
-
Resolution: Fixed
-
Minecraft 19w02a, 1.15.2, 20w10a, 1.19.2, 1.20.2
-
None
-
Confirmed
-
Rendering
-
Normal
-
Platform
In MinecraftClient.render(), the pausedTickDelta (yarn names) field is being updated when the game is unpaused rather than paused:
boolean paused = isIntegratedServerRunningAndNonNull() && currentGui != null && currentGui.isPauseScreen() && !server.isRemote(); if (this.paused != paused) { if (this.paused) { pausedTickDelta = renderTickCounter.tickDelta; } else { renderTickCounter.tickDelta = pausedTickDelta; } this.paused = paused; }
pausedTickDelta is used here:
worldRenderer.render(paused ? pausedTickDelta : renderTickCounter.tickDelta, startTime, tick);
This looks like a bug. When the game is paused, the rendering should be using the tick delta from when it was paused, not from when it was last unpaused.