mojira.dev
MC-69594

Using /setblock to delete tile-entity block fails and succeeds at the same time

Steps to reproduce

1. Place any block with tile entity (Chest, Furnace, Command block, etc)
2. Place attachable blocks like ladder, button, torch, etc (or setup a BUD switch)
3. Delete the block with tile entity using the command /setblock x y z air [0 replace] (x y z being coordinate of the block)
4. The command output (or chat screen) says "The block couldn't be placed" but block gets deleted anyways, and adjacent blocks are not updated at all. (for example, a BUD switch would not activate).

Note : This only happens specifically with setblock air replace.

Comment : This is NOT a duplicate of MC-31100. See it yourselves.

Linked issues

Attachments

Comments 5

I am not sure how this ticket is dupe of MC-31100. Please read the description and explain why do you think so.

intended behaviour, replace doesn't cause a block update, destroy does, no filter given defaults to replace,
try:

/setblock ~ ~-1 ~ minecraft:air 0 destroy

It does update when deleting normal blocks that does not have a tile entity, is this the bug then? Not both of them can be intended behavior...

Well, honestly I don't understand how this is duplicate or intended but I don't want this to be fixed because it is useful in creative mode.

[Mod] redstonehelper

Found the proper parent ticket: MC-50166.

yut951121

(Unassigned)

Unconfirmed

Minecraft 1.8-pre2, Minecraft 1.8.1, Minecraft 1.11

Retrieved