The Setblock (and Fill) command will remove container data but report as failed.
This is inconsistent from other data that will only be changed with specification and when a block / block state is changed.
To Confirm:
Place an unlit furnace facing north.
Put item into top slot of furnace.
Preform command.
/setblock ~ ~-1 ~ minecraft:furnace
Notice chat says "Could not set the block"
Notice the item is removed from the furnace.
Linked issues
Comments 2
Thank you for your report!
We're tracking this issue in MC-117574, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
MC-117574