-
Bug
-
Resolution: Won't Fix
-
None
-
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
-
None
-
Confirmed
-
Commands, Entities
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.
- is duplicated by
-
MC-104519 Armor stand OnGround entity data tag doesn't work
- Resolved
-
MC-123676 OnGround tag does not update upon teleporting an entity
- Resolved
-
MC-131753 Teleporting to the air counts as being OnGround?
- Resolved
-
MC-135778 NBT Tag "OnGround" sets to 1b after teleporting
- Resolved
-
MC-257007 Players are sometimes considered OnGround while completely midair after a teleport
- Resolved
- relates to
-
MC-112344 Testing an entity's 'OnGround' NBT when inside certain blocks will return inconsistent results.
- Reopened
-
MC-276755 Teleporting an entity makes the "is_on_ground" flag in predicates always return true for that tick
- Resolved
-
MC-95971 Constant teleport while on ground incorrectly placing player slightly above ground
- Open