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

Data generator items report is not deterministic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w19a
    • 1.20.5 Pre-Release 2
    • None
    • Confirmed
    • Debug
    • Normal
    • Platform

      The default item components report is not deterministic when running the data generator multiple times or between version. Expected behavior would be that the component types are sorted consistently.

      An example diff can be seen on GitHub

      How to reproduce

      1. Run the data generator
      2. Look at the reports/items.json file and copy it to another location
      3. Run the data generator again
      4. Notice that the order of the components is different

      Related to MC-268580

            gegy1000 [Mojang] Gegy
            Misoloo [Helper] Misode
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: