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

Blocks placed between 30 million and 32 million blocks from the world origin cannot be accessed as of Beta 1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4, 1.20.5 Release Candidate 2
    • Plausible
    • Datafixer

      The bug

      Anything placed between 30 million and 32 million blocks out from Infdev to Beta 1.7.3 will become impossible to access/retrieve in versions Beta 1.8 and above, including the latest version (1.20.5-rc2).

      It'd be expected that, for backwards compatibility and upgradability and such, things built by the player should remain accessible by them and not suddenly become inaccessible, however this is the case here.

      How to reproduce

      A world from Beta 1.7.3 is attached to this ticket.

      1. Load this world in Beta 1.7.3
      2. Note that the diamonds are accessible
      3. Upgrade this world to the latest version

      Expected results

      The diamonds should still be accessible as they were in Beta 1.7.3.

      Actual results

      They are not.

      How to fix

      Push the world boundary out to at least 32 million blocks, like it used to be at before Beta 1.8. This should be doable by searching for every instance of 30 million in the game's code and changing them to 32 million, and any instances of 60 million (or 59,999,968) to 64 million (these will likely be world border-related). The weird ghost chunk behaviour present in older version is due to arbitrarily-coded chunk limit values, rather than any hard limits imposed by data types. This should make these blocks accessible once more.

      It should be safe to expand the world to 33 million blocks out rather than 32 million, which would be preferable in this case. Starting in 1.14 and increasing in 1.17, the game only starts breaking at 33 and a half million due to lighting changes and such, so 33 million flat should be a better cutoff point.

        1. 2024-04-20_19.36.02.png
          2024-04-20_19.36.02.png
          81 kB
        2. 2024-04-20_19.37.13.png
          2024-04-20_19.37.13.png
          101 kB
        3. 2024-04-20_19.38.06.png
          2024-04-20_19.38.06.png
          105 kB
        4. 2024-04-20_19.42.18.png
          2024-04-20_19.42.18.png
          393 kB
        5. b173-30mildiamonds.zip
          4.81 MB

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

              Created:
              Updated:
              Resolved:
              CHK: