http://justforuploadingd.blogspot.com/2015/05/blog-post_24.html (video)
Command:
1.
/scoreboard players set @e hi 0
after
2.
/scoreboard players set @e[score_hi=0] hi 1 {Motion:[0.0d,0.0d,0.0d]}
(1 and 2 in redstone block clock)
(I tried 0:0.0d,1:0.0d,2:0.0d and 0.0,0.0,0.0 and 0:0.0,1:0.0,2:0.0 too)
so if I move, my score should be 0, but always 1
Other non-mob-entities, too (like minecarts)
Only for mob-entities works correctly (like villagers)
But if I overlap(more than two entities in one block) with other entity, the score change into 0
Linked issues
relates to 1
Comments 5
Duplicate of MC-73887
I think it's not duplicate of that
My report is about the Motion tag,
But that report is about the Rotation tag
Read the updates description please. It is both about the fact that the NBT comparison only tests if an item is in a list but ignores the position. As you are testing for [0d,0d,0d]
it tests three times if 0d
is in the list Motion
but ignores its position
Confirmed for
1.8.6 For all entities (maybe not including a player) the second command only fails if all
Motion
values aren't 0If you use
/entitydata
on a villager hisMotion
looks like thisbut his score is still 1