Marker ArmorStands cannot be selected within r=0
If an ArmorStand has Marker:1b set, it cannot be found with r=0.
Setup:
Stand somewhere, without moving
/summon ArmorStand ~ ~ ~
/testfor @e[r=0]
What should happen:
Found
Found Armor Stand
What actually happens:
Found {player}
This is not because of the relative position of the stand; If you walk a bit away and run
/execute @e[type=ArmorStand,c=1] ~ ~ ~ testfor @e[r=0]
the command will fail.
Other entities may be selected within the range, however; If the first experiment is run with a NoAI Sheep summoned as well, at exactly the same position, the command will find the player and the sheep, but not the stand.
Notes:
- A range of 1 or more results in correct behavior of commands.
- Non-Marker stands can be selected with r=0
- A possible cause of this may be the way entities in range are checked in the code; As the Marker ArmorStand has no hitbox, selection by range may be inherently buggy due to the calculation method.
2015-10-15, 10:19 PM
2017-05-04, 10:48 AM
2016-02-29, 04:09 PM
4
5