mojira.dev
MC-161888

Enchantment tables do not track the player correctly at high distances from the world origin

When at high distances from the origin of the world (especially beyond 2^24 = 16777216) the enchantment table does not correctly track the player's position, and the book therefore behaves oddly.

A fix can be found in this mod: https://github.com/polgaria/FarLands

Linked issues

Attachments

Comments

Tim "timmyRS" Speckhals

I think you could've put this whole suite of issues into just one issue, which is that particles use a 4-byte floating point number for their X, Y, & Z position, which is notorious for losing precision when you're going to extremely high numbers. If you went far enough into the world, you'd only see particles every 4, 8, 16, etc. blocks.

muzikbike

Fry

Confirmed

Low

Rendering

precision-loss

1.14.4, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3

1.15 Pre-release 4

Retrieved