Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-117637

World is visible for short moment after credits before respawn

XMLWordPrintable

    • Confirmed
    • (Unassigned)

      The bug

      The world is visible for a short moment after the credits but before you have respawned.

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The method net.minecraft.client.gui.GuiWinGame.sendRespawnPacket() resets the currently displayed GUI. But the player is not teleported until it receives the packets from the server.

      Suggested would be to not clear the displayed GUI but mark that the player reached the end of the credits and therefor not send multiple respawn packets and not try to scroll further.
      However, this might cause problems when the server does not send a packet back for whatever reason.

        1. 2024-05-05_18-49-13.mp4
          3.11 MB
          [Helper] Jiingy
        2. credits.png
          2.85 MB
          [Helper] Jiingy
        3. loaded.png
          1.28 MB
          [Helper] Jiingy
        4. loading.png
          2.79 MB
          [Helper] Jiingy

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            8 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: