mojira.dev
MC-50166

Game states that "The block couldn't be placed" when using /setblock to place air in a space occupied by a tile entity, despite working

When using /setblock to place air blocks, the game will state "The block couldn't be placed" in red text, despite clearly working. On the right of the chest in the attachment was another chest (to make it a large chest), but the error message appeared after I removed it by /setblock-ing down air in an area with a chest.

Also affects the /fill command with barrier blocks.


Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 28

Please provide the exact command you've used.

/setblock ~-1 ~ ~ air

It works fine for me.

Fill it to the brim.

Confirmed.

18 more comments

@unknown, the cause of this bug is already explained in this comment

Blue SkyEngeener

SunCat, sorry I mised that comment. 😃

Can confirm for 1.11.2

ays the status is resolved but this still seems to happen for me in 1.12.2

@unknown, 1.12.2 is no longer supported, please test this is in the latest release 1.13.1

PTR_91

migrated

Confirmed

Minecraft 14w08a, Minecraft 14w11b, Minecraft 14w27b, Minecraft 1.8, Minecraft 1.8.1, ..., Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4, Minecraft 1.10.2, Minecraft 1.11, Minecraft 1.11.2

Minecraft 1.12 Pre-Release 1

Retrieved