If a Command Block replaces itself with a block entity, the block will not have its properties applied until the world is reloaded
The bug
If you place a Command Block that instantly replace itself with a Sign with text, the Sign's text will not appear until the world is reloaded.
This started happening since 22w11a, it affects all block entities, not just signs.
How to reproduce MC-252368.mp4
- Use this command:
/give @p command_block[block_entity_data={id:command_block,Command:"/setblock ~ ~ ~ oak_sign{front_text:{messages:['\"\"','\"\"','\":D\"','\"\"']}} replace",auto:1b}] - Place the Command Block (a Sign will replace it)
See if the Sign has text or not. If not, reload the world and watch it again
2022-05-31, 12:59 AM
2024-12-05, 04:05 AM
10
6
1.19 Pre-release 4 - 1.21.4
1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 2, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.1 Pre-release 4, 1.19.1 Pre-release 5, 1.19.1 Pre-release 6, 1.19.1 Release Candidate 2, 1.19.1 Release Candidate 3, 1.19.1, 1.19.2 Release Candidate 1, 1.19.2, 22w42a, 22w43a, 22w44a, 22w45a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 2, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 2, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w33a, 1.20.2, 1.20.4, 24w12a, 1.20.6, 1.21.1, 1.21.3, 24w46a, 1.21.4
-