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

Joining a world that uses custom resources shows default resources until fully loaded

XMLWordPrintable

    • Community Consensus
    • Custom Worlds

      Context/Summary

      Because when the world has loaded in minecraft, the player immediately joins and renders the world before the resources/textures are loaded from the custom resources.zip

      This allows the player to see the default textures for items in their hotbar, or blocks in the world, which could look horrible, depending on the pack used and reveals underlying implementation of certain aspects in custom maps.

      I highly suggest fixing this as it would make the game much smoother. Probably load the resources before making the player join the world, is better. As well as when the player leaves the world, they should also unload the custom resources before the menu is shown.

      One issue would be when leaving servers, players would freeze when they join and their resourcepack is loading. But the same would happen when they left in the 'fix'. But that's just speculation.

      *Note: A side effect, which is related, is that the file_read/write_lock on resources.zip is still in possession of minecraft, which doesn't allow any other prorgam or user to edit the resources.zip when you exit to the main menu. You need to fully exit the program to change the resources.zip.

      How to reproduce

      1. Create a world with a custom resources.zip. I suggest retexturing a diamond and holding it in your hand when you log off.
      2. Join this world once the resources.zip is inside the folder.
      3. After the world has finished loading, the resources are loaded, but at this point you can clearly see the world with unapplied textures.

       

      Expectations

      • **World loads, then the mojang logo immediately pops up to load resources.
      • The transition to the game shows no leaked default textures and everything is smooth.

      Reality

      • World loads.
      • Loading bar pops up, but the background is transparent, therefore you can see the deefault textures shown.
      • The resources reload and the textures are applied.

            gegy1000 [Mojang] Gegy
            m124367 AgentM
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: