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

Empty block states in noise_provider does not cause validation to fail, causing crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w45a
    • 1.20.6, 24w18a, 1.21
    • None
    • Confirmed
    • Crash
    • Important
    • Platform

      Summary
      When noise_provider block state provider has empty states, it should cause pack validation to fail; currently it does not, instead causing a crash. (This issue exists in 1.20.6 as well.)

      Steps to Reproduce

      • Add the attached pack.
      • Get a pair of boots with the enchantment test:noise.
      • Wear it.

      Expected Result
      The data pack should fail to validate.

      Actual Result
      Game crashes.

        1. crash-2024-05-09_11.31.51-server.txt
          5 kB
          apple502j
        2. deobf_crash-2024-05-09_11.31.51-server.txt
          14 kB
          [Bot] Arisa

            Unassigned Unassigned
            apple502j apple502j
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: