Testfor OnGround:1b after teleporting causes check to always output true
The bug
If you have a command that is constantly teleporting you, with a command that constantly checks if you are OnGround:1b after the teleport, the OnGround check will always output as true.
How to reproduce
- Repeating command with a constant teleport to X Y Z
- Chain command after teleport running
/testfor @p {OnGround:1b}1.13: /execute if entity @p[nbt={OnGround:1b}] - Comparator out of chain command
- Run system (start the teleport command FIRST then start the testfor command) to see that the testfor will always be true, even if the teleport puts you in the air. You can check with OnGround:0b to see that the output will always be false.
2016-10-03, 05:55 PM
2025-01-02, 09:59 AM
2021-05-25, 07:17 AM
13
14
Minecraft 16w39c - 20w49a
Minecraft 16w39c, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w15a, Minecraft 17w16a, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w48a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 1.13, Minecraft 18w32a, Minecraft 1.13.1, Minecraft 18w50a, 1.15 Pre-Release 2, 1.15 Pre-release 4, 20w49a
-