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

Texture for blocks using TileEntitySpecialRenderer is not bound for short moment when entering world and in superflat settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.15 Pre-release 1
    • Minecraft 1.11.2, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w07c, Minecraft 1.13, Minecraft 18w30a, Minecraft 1.13.2, Minecraft 19w07a
    • Confirmed
    • (Unassigned)

      The bug

      The texture for blocks using TileEntitySpecialRenderer to be rendered is not bound for a short moment when entering a world and all the time in the superflat settings. This causes these blocks to have a texture consisting out of all kind of blocks, see Incorrect chest texture (1.11.2).png.

      Once the player opened a world or joined a server the field is initialized and after that the affected blocks are always rendered correctly.

      Affected blocks

      Last updated for 1.13.2

      • chest
      • trapped_chest
      • ender_chest
      • *_shulker_box (all colored shulker boxes, for example white_shulker_box)
      • beds

      How to reproduce

      1. Open Minecraft
      2. Directly open the superflat settings without doing something different before
      3. Enter the following preset
        3;minecraft:chest;1
        
      4. Click "Use Preset" to see the preview

      Code analysis

      Based on 1.11 decompiled using MCP 9.35 rc1

      This seems to be happening because the field net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderEngine is still null.

        1. 20161118235706_1.jpg
          188 kB
          [Mod] Michael Wobst
        2. Incorrect chest texture (1.11.2).png
          45 kB
          Marcono1234

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            10 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: