When a player or fox consumes a chorus fruit, the entity is consistently teleported while preserving the decimal places of the Y-coordinate. Consequently, if you stand on a floating platform comprised of non-full blocks like dirt paths or slabs, eating a chorus fruit on the platform will result in being teleported 1 block too high. This behavior can be readily verified by consuming a chorus fruit with the F3 debug screen open and observing the Y-coordinate closely.
Reproduction steps
Construct a platform using non-full blocks such as dirt paths, slabs, or other similar blocks, ensuring it is suspended above water
Stand upon the platform
Eat a chorus fruit
Observed: You are teleported 1 block too high due to the retention of decimal places in the Y-coordinate.
Expected: Teleportation should consistently position you on the ground level, ensuring you are not teleported too high and risk falling slightly after consuming the chorus fruit.
Attachments
Comments 4
No, this doesn't affect ender pearls at all! You might be encountering MC-199813. The decimal values afterward seem to be random and aren't retained.
The modification done by @unknown needs to be reversed since it doesn't apply to ender pearls, as @unknown has already rectified. You can verify this by testing it yourself; you'll see that it doesn't affect ender pearls, dear.
Also affects ender pearls, and is not restricted to players and foxes.