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

Datapack custom recipes do not load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.2
    • None
    • Unconfirmed
    • (Unassigned)

      Recipes that were working in 1.21.1 do not load.

      Error output from this recipe:

      {
        "type": "minecraft:crafting_shapeless",
        "category": "blocks",
        "ingredients": [
         

      {       "item": "minecraft:furnace"     }

        ],
        "result":

      {     "id": "minecraft:cobblestone",     "count": 8   }

      }

      is "DataResult.Error['List is too short: 0, expected range [1-9]']"

       

      Error output from this recipe:

      {
        "type": "minecraft:crafting_shaped",
        "category": "equipment",
        "pattern": [
          "wow",
          " w ",
          " w "
        ],
        "key": {
          "o":

      {       "item": "minecraft:bone_block"     }

      ,
          "w":

      {       "item": "minecraft:bone"     }

        },
        "result": {
          "id": "minecraft:bone",
          "components": {
            "minecraft:item_name": "diggingbone",
            "minecraft:max_stack_size": 1,
            "minecraft:max_damage": 512,
            "minecraft:damage": 0,
            "minecraft:tool": {
              "rules": [
               

      {             "blocks": "#minecraft:mineable/pickaxe",             "speed": 5,             "correct_for_drops": true           }

              ],
              "default_mining_speed": 1.5,
              "damage_per_block": 3
            }
          }
        }
      }

      is "DataResult.Error['Map entry 'o' : Failed to parse either. First: Not a string: \{"item":"minecraft:bone_block"}; Second: Failed to parse either. First: Not a json array: \{"item":"minecraft:bone_block"}; Second: Not a string: \{"item":"minecraft:bone_block"}']"

            Unassigned Unassigned
            KevinTheDruid Kevin Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: