mojira.dev
MC-54095

testfor entity in specific coordinates don't work

when i

/testfor @e[type=MinecartRideable,7,35,19,-5,35,19]

in the commandblock its ignore the coordinates and it testfor all minecart in the loaded chunks

also i tried

/testfor @e[type=MinecartRideable,1,35,19,6]
/testfor @e[type=MinecartRideable,x=1,y=35,z=19,r=6]
/testfor @e[type=MinecartRideable,x=7,y=35,z=19,dx=-5,dy=35,dz=19]

i hope i describe this well 🙂

Attachments

Comments 3

The first two commands can't work, because the coordinates have to be the first arguments if you wan tto leave out the "x=". See http://minecraft.gamepedia.com/Commands#Target_selector_arguments

dx cannot be negative. See the link @unknown has provided.

Works fine with e.g.

testfor @e[,,,5,type=MinecartRideable]

Faisal

(Unassigned)

Unconfirmed

Minecraft 14w18a

Retrieved