-
Bug
-
Resolution: Unresolved
-
None
-
1.21.30, 1.21.31 Hotfix, 1.21.43 Hotfix, 1.21.44 Hotfix, 1.21.51 Hotfix
-
Community Consensus
-
Multiple
The developers retained the ability to use the unflattened IDs for backwards compatibility. However, this seems to have been implemented incorrectly, resulting in the new flattened IDs retaining the old block states, including in flattened IDs that do not share the same name as an unflattened ID, although they do not show up in autocomplete unless the property is typed in. (e.g. the "color" block state being retained in purple_wool).
For example, one can type in /setblock ~ ~ ~ purple_wool ["color"="black"], which would result in the game placing black wool. (It places it with the correct ID for black wool, black_wool (as shown by /testforblock [x y z] purple_wool), but this should not be possible in the first place.)
In addition, testing any flattened block with the /testforblock command also has this issue. Using the black wool example again, /testforblock [x y z] purple_wool ["color"="black"] on Black Wool will return that the block has been found, even if it is normally placed black wool.