Mojira Archive
MC-145398

Error with the commande "kill"

I do not really explain this strange bug.

i teleport the mobs in 0, -10, 0 and then I kill them. but this commande

#Repeat
kill @e[x=0,y=-10,z=0,distance=..10,type=donkey]

dosen't work.

If I try to get the coordinates it shows the correct string.

/execute as @e[type=donkey] at @s store result score @s Cord run data get entity @s Pos[0]
/execute as @e[type=donkey] at @s store result score @s Cord run data get entity @s Pos[1]
/execute as @e[type=donkey] at @s store result score @s Cord run data get entity @s Pos[2]

and when I tp on entity it works.

/tp @s @e[type=donkey,limit=1]

I noticed that it works when I'm less than 100 blocks of entity.

#You can try with ths summon command
summon donkey 0 -10 0 {NoGravity:1b,Tame:1,ChestedHorse:1,Temper:1,Attributes:[{Name:generic.armor,Base:100},{Name:generic.maxHealth,Base:1000}],Invulnerable:1,Health:1.0f,FallFlying:1b,PersistenceRequired:1,NoAI:1,Silent:1,DeathLootTable:"empty",ActiveEffects:[{Id:6,Amplifier:100,Duration:19980,ShowParticles:0b},{Id:11,Amplifier:250,Duration:1999980,ShowParticles:0b}]}

Awaiting Response

Hardel

2019-03-05, 10:45 PM

2019-06-15, 11:26 PM

2019-06-15, 11:26 PM

0

1

Unconfirmed

(Unassigned)

Minecraft 19w09a

-