mojira.dev
MCPE-178011

query.position(1) [For Y-axis] has error in value.

I was working on a project where I needed to use the q.position(1) function, which gives the y coordinate. But while working with the function I faced some issues and that's because the function was returning wrong value.

Ex- For Y-coordinate 0, it was showing 1.62 (Pictures)

I rendered the value on screen and took some screenshots.

N.B - Values were multiplied by 10000. So, it's more accurate. Minus sign not rendered.

Attachments

Comments 2

[media][media][media][media][media]

If this is still an issue in the latest release, please attach a behavior pack that can be used to reproduce it.

YA_Rifat

(Unassigned)

Unconfirmed

Windows

Windows 10

1.20.51 Hotfix

Retrieved