mojira.dev
MC-271289

Signs appear blank when replaced by a command block immediately after they are broken

How to reproduce:

/give @s minecraft:command_block
  1. Put in the command block the code:

setblock ~ ~ ~2 oak_wall_sign[facing=north]{front_text:{messages:['{"text":""}','{"text":"Example","color":"red","bold":true}','{"text":""}','{"text":""}']}} keep
  1. Set the command block in repeating mode always active

  2. Try to break the sign 

  3. The text of the sign won't show it but using: /data get block <coordinates> you can check that the nbt data of the text has to be showed

  4. In fact when exiting and re-entering the world the sign will show the text correctly

Expected Result:

The sign even if destroyed and replaced should show the text

 

Onedrive video:

BugMinecraft.mp4

Linked issues

Attachments

Comments 1

Can confirm.

[media]

.

FireBr0

(Unassigned)

Confirmed

Platform

Normal

Block states, Commands, Networking

22w11a, 1.20.6, 24w18a, 1.21.1

Retrieved