mojira.dev
MC-97178

Minecart with command block doesn't kill itself with r=0 with riders command block and ridden ones

Before 16w07a I could make a bunch of command block minecarts with some commands and one with kill command to clear them out.

/summon MinecartCommandBlock ~ ~ ~1 
{
Command:"/say start",
Passengers:[
				{id:"MinecartCommandBlock",Command:"/say 1"},
				{id:"MinecartCommandBlock",Command:"/say 2"},
				{id:"MinecartCommandBlock",Command:"/say last"},
				{id:"MinecartCommandBlock",Command:"/kill @e[type=MinecartCommandBlock,r=0]"}
				]
}

Since 16w07a they doesn't disappear. In 16w06a they worked fine. Ran once and all disappeared after running the /kill minecart. Now kill with r=0 doesn't kill anything.

Linked issues

Comments 17

[Mod] redstonehelper

Possibly related to the fix of MC-95352.

Irbis

I found out that even typing into chat /kill @e[r=0] doesn't kill you. It should kill all entities with same position as me including me.

user-f2760

This seems to be the same as MC-88533 which now effects all entities, not only marker armor stands.

I'd say collect them there

Irbis

Could be, but It might be different. Before marker armor stand was a problem. Now r=0 is a problem.

user-f2760

But since it's the same issue (r=0 cannot find the executor) I just suggest to merge them.
+ it has a detailed description and is assigned already

7 more comments
stop.x
/kill @e[r=0]

is still broken, so does

/execute @a ~ ~ ~ kill @e[r=0,type=!Player]

, so annoying and pls fix! (I think the r=0 is the broken, nothing seems to work with r=0)

Irbis

The problem is that command is executed in middle of block instead of where the entity is executing command.

Ok, I made a new report to point the problem.
MC-97316 - Executing a command from command block minecart and via /execute is running from middle of block instead of the position of entity

Irbis

Cause in 1.9 pre 3 r=0 no longer counts as r=0.25, this bug is back. r=0 can't find anything, even when entity is in the same spot where distence is counted from.

[Mod] redstonehelper

MC-95352 should (or will soon) cover that.

GamerGuppy

I've finally managed to find time to update it. Thanks for the help and patience, redstonehelper.

Irbis

(Unassigned)

Unconfirmed

Minecraft 16w07a

Minecraft 16w07b

Retrieved