Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-167103

Casting issue: Mob spawning loses precision at high coordinates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 1
    • 1.14.4, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w15a, 20w18a, 20w19a, 20w20a, 20w21a, 20w22a
    • None
    • Confirmed
    • Mob behaviour, Mob spawning, Networking

      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.

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            6 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: