When using /setblock to an item with custom metadata, it puts the block there fine with an invalid model+texture, presumingly to allow the ability to add our own at some point.
However, upon attempting to pickblock this block, the inventory item crashes the client. The only way to remove this is to manually edit the NBT of the player to a valid metadata value.
Also if the block is sand or gravel, it will crash when it turns into an entity.
I've included the crash files. The 22.04.11 is the falling block entity crash, and the 21.56.11 is the inventory item crash.
Tried searching, but didn't find any of the same issue. Sorry for any duplicates 😃
Linked issues
duplicates 1
Attachments
Comments


"/setblock ~ ~ ~ sand 9"
It's the 9 that is the different meta.

There is no sand with data value 9.
What are the exact commands you've used ?