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

Crash when randomized_int_state_provider is applied to blocks lacking the property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w21a
    • 24w18a
    • None
    • Confirmed
    • Crash, Data Packs
    • Normal
    • Platform

      Steps to Reproduce

      1. Create a world with the attached datapack
      2. Give yourself a bow enchanted with minecraft:crash
      3. Shoot a block

      Expected Result
      No crash occurs.

      Actual Result
      Game crashes.

      Related to MC-271468 (and credit to the reporter for making the base of the pack). Note, 1.20.6 might be affected as well (as this is not a newly introduced code).

        1. crash-2024-05-07_21.35.00-server.txt
          6 kB
          apple502j
        2. image-2024-05-07-15-46-03-422.png
          15 kB
          BugTracker

            panda4994 [Mojang] Panda
            apple502j apple502j
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: