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

TileTicks are saved with world position instead of offset in chunk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12.2, Minecraft 17w50a, 20w21a, 1.17.1, 1.19.3, 23w04a
    • Confirmed
    • Performance, Save Data

      The bug

      Scheduled block updates are saved in the TileTicks list in chunk save files with their world position instead of an offset within the chunk. This is quite inefficient since TileTicks is per chunk and therefore should only contain entries for this chunk.

      How to reproduce

      1. Schedule an update for a block outside the area (0, 0, 0) → (15, 15, 15) area (all values inclusive), for example by pressing a button
      2. Close the world
      3. Inspect the respective chunk in the region file using for example NBTExplorer

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: