Teleportation with chorus fruits maintains the decimal places of the Y-coordinate, sometimes causing entities to be teleported too high
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.