mojira.dev
MC-112292

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

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

[media]

.

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.

Related issues

Attachments

Comments

migrated
[media][media]
wobst.michael

Duplicate of MC-12788, but I suggest to leave this report open as it is more detailed. Should close MC-12788 instead.

migrated

I agree close MC-12788

migrated

Does something like this, by chance, also affect held maps' contents?

marcono1234

Do you mean when one of the blocks is in an area a map shows or is there a bug with maps I am not aware of?

migrated

I was referring to MC-86736.

marcono1234

It might have been a similar issue but probably not caused by the same bug. Additionally I cannot reproduce MC-86736 for 17w06a.

TheBoy358

I can't reproduce this bug in the latest snapshot.

marcono1234

I assume the field the report is talking about is net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher.textureManager (Mojang mapping, 1.15-pre1). It looks like at least for the superflat creation page it is still not set (based on the code, have not debugged it). However, I cannot reproduce it anymore either.
Resolving as "Fixed".

marcono1234

(Unassigned)

Confirmed

(Unassigned)

block, chest, ender_chest, rendering, shulker_box, superflat-customization, texture, trapped_chest

Minecraft 1.11.2, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w16a, ..., Minecraft 18w07c, Minecraft 1.13, Minecraft 18w30a, Minecraft 1.13.2, Minecraft 19w07a

1.15 Pre-release 1

Retrieved