mojira.dev
MC-167103

Casting issue: Mob spawning loses precision at high coordinates

While this is rather hard to notice within vanilla bounds, it's definitely there.

One simple way to reproduce this is to create a completely blank superflat world, and build a small 3x3 platform at the lowest possible point in the world. You will notice that the mobs spawn aligned to the grid as expected. However, if this 3x3 platform is built with one corner at (19999999,0,19999999) and the opposite at (20000001,0,20000001), it can be seen that mob spawning has a very clear bias to the negative side, with it aligned to the corners of blocks rather than edges. A command block was used to help indicate when mobs were spawned.

Linked issues

MC-123390 All types of animals spawning in blocks and suffocating during terrain generation Resolved MC-167042 Casting issue: Campfire embers are generated at a point that loses precision at high coordinates Resolved MC-167044 Casting issue: Enchanting table book does not open for the player at high distances in some cases Resolved MC-167046 Casting issue: Lava ember particles and lava popping sounds lose precision on creation at high coordinates Resolved MC-167091 Casting issue: Water particles dripping from leaves lose precision at high coordinates Resolved

Attachments

Comments 1

muzikbike

(Unassigned)

Confirmed

Mob behaviour, Mob spawning, Networking

1.14.4, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, ..., 20w18a, 20w19a, 20w20a, 20w21a, 20w22a

1.16 Pre-release 1

Retrieved