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"}']"
Comments 5
The wiki says:
Removed attribute ID prefixes such as generic.
. Changed formats of data components, loot tables and predicates. Added new data components, loot tables and item tags. Added key input predicate. Added crafting_transmute
recipe type. Renamed enchantment effect damage_item
to change_item_damage
No mention of changes to format for recipes
1.21.2 page:
Recipes
The crafting_special_suspiciousstew recipe type has been removed.
The format used for recipe ingredients has been simplified and aligned with other fields that accept item lists (like item predicates):
For items: { "item": "<item id>" } now becomes "<item id>".
For tags: { "tag": "<tag id>" } now becomes "#<tag id>".
Lists of items are still allowed, but tags can no longer appear in such list.
Remaining restrictions:
minecraft:air can't appear anywhere in ingredient.
ingredient must have at least one tag or item.
Fields template, base and addition in smithing_transform and smithing_trim recipes are now optional instead of accepting empty list.
Mojira is not a troubleshooting forum for datapacks, the error is included at the bottom of your report, and clearly outlines the problems with your datapack.