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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Environment:
    • Confirmation Status:
      Confirmed

      Description

      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.11.2

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

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Helper] Marcono1234
              • Votes:
                9 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: