Mojira Archive
MC-276755

Teleporting an entity makes the "is_on_ground" flag in predicates always return true for that tick

Steps to reproduce :
-Place a repeating command block with the following command :

execute as @p at @s if predicate {"condition": "minecraft:entity_properties","entity": "this","predicate": {"flags": {"is_on_ground": true}}} run say On Ground

-Spam the following command in chat a few times while flying in either creative or spectator  mode :

tp @s ~ ~ ~

Observed Behavior :
The "is_on_ground" flag sometimes returns true depending on when in the tick, you run the tp command in chat.

Expected Behavior :
The predicate won't return true if the player wasn't on ground before and after getting teleported

Won't Fix

nedraw

2024-09-16, 11:38 AM

2024-09-30, 08:05 PM

2024-09-17, 07:26 AM

7

3

Confirmed

(Unassigned)

1.21.1, 24w37a

-