mojira.dev
MC-109248

Extended piston head not removed when /setblock is used to place a different piston base.

Found this bug with /setblock and (Sticky)pistons.
Steps to reproduce:
1. place a redstone block anywhere.
2. place a temp block next to the redstone block for where your pistons are going to go.
3. use /setblock x y z minecraft:piston[facing=up] at the temp blocks x,y,z.
4. do step 3 again (at the same x,y,z) but change 'up' to east, west, north, south or down
when you do this you'll end up with a piston with 5 heads destroying any one of them will destroy the whole thing.
i was trying to use the /setblock for a 2 story maze and i ran into this, was expecting the previous piston(and piston head) to be replaced, not become a multi-headed piston. kinda broke my maze.

Attachments

Comments 3

For future reports, please make your screenshots properly lit, if possible.

Ok thx i'll remember that.

Confirmed for 1.13.1.

seeker3000

(Unassigned)

Confirmed

(Unassigned)

/setblock, piston, piston_head

Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, ..., Minecraft 19w04b, 1.14.4, 19w39a, 19w40a, 19w42a

20w14a

Retrieved