mojira.dev
MC-170158

TNT textures for unstable=true are lost when ignited

The bug

If you use a debug stick to set TNT's "unstable" blockstate to true and then ignite it, any blockstate textures defined in tnt.json are lost. There is an example video attached below.

How to reproduce

  1. Install the resource pack in the attachments.

  2. Give yourself a debug stick with /give @p minecraft:debug_stick

  3. Place down TNT and right click it with the Debug stick so that unstable gets set to true. The texture should've changed to be text saying "This texture is lost when ignited".

  4. Ignite the TNT. You'll notice the texture is replaced by the default TNT texture once it becomes an entity.

Linked issues

Attachments

Comments 5

This is probably caused by the block having 2 states but the entity only having one. 

Can confirm in 20w51a.

Can confirm in 21w03a.

I recon this is also the case with a random model selection resource pack, like how some blocks (eg stone) are randomly rotated and mirrored.

This behavior seems to exist in Minecraft 1.20.4 despite the TNT entity supporting custom block states.

user-88488

(Unassigned)

Confirmed

Platform

Low

Block states

mismatching-textures, texture

1.15.1, 1.15.2, 20w51a, 21w03a, 1.18.2, 1.20.2, 23w42a, 1.20.4, 1.21

Retrieved