-
Bug
-
Resolution: Invalid
-
None
-
1.17.1
-
None
-
Windows 10
-
Unconfirmed
-
(Unassigned)
The selector selects entities although they are not in the currect Y position.
Tested it in a void world:
- /kill @e[type=!player]
- /tp 0 80 0
- /execute if entity @e[y=70]
Step 3 returns: "Test passed, count: 1"
Also:
- /kill @e[type=!player]
- /summon minecraft:marker 0 70 0
- /execute as @e[y=69,dy=2] run say hi
Step 3 ignores the marker entity.