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

Air can be used in custom recipes, causing a crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w13a
    • Minecraft 1.12.2, Minecraft 18w03b, Minecraft 18w07c, Minecraft 18w20b, Minecraft 18w20c, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w42a, 1.15 Pre-release 3, 1.15 Pre-release 6, 1.15, 1.15.2, 20w06a, 20w07a, 20w09a, 20w10a, 20w18a, 1.16 Pre-release 2, 1.16.1, 1.16.2, 1.16.4, 20w45a, 1.16.5, 21w08b
    • Confirmed
    • Crash
    • Very Important

      The bug

      You can use minecraft:air as recipe input and output; using it as output then clicking on this recipe will crash the game.

      How to reproduce

      Create a recipe using air (as input or output).

      Examples:

      {
        "type": "crafting_shapeless",
        "ingredients": [
          {
           "item": "air"
          }
        ],
        "result": {
          "item": "diamond"
        }
      }

      Recipe for crafting diamond out of 1 air

      {
        "type": "crafting_shapeless",
        "ingredients": [
          {
           "item": "diamond"
          }
        ],
        "result": {
          "item": "air"
        }
      }
      

      Recipe for crafting air out of 1 diamond.

            slicedlime [Mojang] slicedlime
            Hugman_76 Hugman
            Votes:
            17 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: