If you give yourself a slab with a block_state component dictating the specific half it should be placed in, this works correctly when placing one of them. However, if you then try to create a double slab, one of the slab items will be consumed, despite no change happening.
To reproduce:
/give @s stone_slab[block_state={type:"bottom"}] 64
try placing one
then try placing more on top of it
Expected results: since creating a double slab would result in one of the slabs being placed in the block’s top half, contrary to what the tag defines, placement should fail, and no item is consumed.
Actual results: for some reason, the item is consumed.
Thank you for helping us improve Minecraft! We saved your files: