nonvioce 6 месяцев назад
Родитель
Сommit
a6a61a9aae
37 измененных файлов с 245 добавлено и 85 удалено
  1. 3 3
      README.md
  2. 27 9
      data/renewable/recipe/andesite_from_cobblestone.json
  3. 6 2
      data/renewable/recipe/bell.json
  4. 3 1
      data/renewable/recipe/blue_ice.json
  5. 3 1
      data/renewable/recipe/brain_coral_block.json
  6. 3 1
      data/renewable/recipe/bubble_coral_block.json
  7. 6 2
      data/renewable/recipe/budding_amethyst.json
  8. 12 4
      data/renewable/recipe/calcite.json
  9. 3 1
      data/renewable/recipe/chainmail_boots.json
  10. 3 1
      data/renewable/recipe/chainmail_chestplate.json
  11. 3 1
      data/renewable/recipe/chainmail_helmet.json
  12. 3 1
      data/renewable/recipe/chainmail_leggings.json
  13. 3 1
      data/renewable/recipe/diamond_horse_armor.json
  14. 27 9
      data/renewable/recipe/diorite_from_cobblestone.json
  15. 6 2
      data/renewable/recipe/elytra.json
  16. 6 2
      data/renewable/recipe/enchanted_golden_apple.json
  17. 9 3
      data/renewable/recipe/end_stone.json
  18. 3 1
      data/renewable/recipe/fire_coral_block.json
  19. 3 1
      data/renewable/recipe/golden_horse_armor.json
  20. 27 9
      data/renewable/recipe/granite_from_cobblestone.json
  21. 6 2
      data/renewable/recipe/heart_of_the_sea.json
  22. 3 1
      data/renewable/recipe/horn_coral_block.json
  23. 3 1
      data/renewable/recipe/iron_horse_armor.json
  24. 9 3
      data/renewable/recipe/name_tag.json
  25. 3 1
      data/renewable/recipe/netherrack_from_cobblestone.json
  26. 3 1
      data/renewable/recipe/packed_ice.json
  27. 15 5
      data/renewable/recipe/red_sand.json
  28. 6 2
      data/renewable/recipe/saddle.json
  29. 3 1
      data/renewable/recipe/sand_from_gravel.json
  30. 6 2
      data/renewable/recipe/sponge.json
  31. 3 1
      data/renewable/recipe/stone_from_andesite.json
  32. 3 1
      data/renewable/recipe/stone_from_diorite.json
  33. 3 1
      data/renewable/recipe/stone_from_granite.json
  34. 9 3
      data/renewable/recipe/trident.json
  35. 3 1
      data/renewable/recipe/tube_coral_block.json
  36. 6 2
      data/renewable/recipe/tuff.json
  37. 2 2
      pack.mcmeta

+ 3 - 3
README.md

@@ -3,14 +3,14 @@
 ## 基本信患
 
 - **平台**: Minecraft Java Edition only(基岩版不兼容)
-- **兼容版本**: 1.21.11 (`min_format: 94`, `max_format: 94`)
+- **兼容版本**: 1.21.1 (`min_format: 48`, `max_format: 94`)
 - **数据包名称**: `renewable-resources`(命名空间: `renewable`)
 - **文件总数**: 45 个文件
 - **安装**: 放入 `saves/<世界>/datapacks/`,进游戏 `/reload`
 
 ## 功能清单(4大模块)
 
-> 附魔、世界生成模块因 1.21.11 API 大幅变更已暂时移除,后续可单独适配。
+> 附魔、世界生成模块因 1.21.1 API 大幅变更已暂时移除,后续可单独适配。
 
 ### 1. 配方 (35个) — `data/renewable/recipe/`
 
@@ -68,7 +68,7 @@
 
 ```
 renewable-resources/
-├── pack.mcmeta                              # min_format: 94, max_format: 94 (1.21.11)
+├── pack.mcmeta                              # min_format: 48, max_format: 94 (1.21.1)
 ├── data/
 │   ├── renewable/
 │   │   ├── advancement/recipes.json          # 配方自动解锁

+ 27 - 9
data/renewable/recipe/andesite_from_cobblestone.json

@@ -2,15 +2,33 @@
   "type": "minecraft:crafting_shapeless",
   "category": "building",
   "ingredients": [
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:gravel"
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:gravel"
+    }
   ],
   "result": {
     "id": "minecraft:andesite",

+ 6 - 2
data/renewable/recipe/bell.json

@@ -7,8 +7,12 @@
     " S "
   ],
   "key": {
-    "G": "minecraft:gold_ingot",
-    "S": "minecraft:stick"
+    "G": {
+      "item": "minecraft:gold_ingot"
+    },
+    "S": {
+      "item": "minecraft:stick"
+    }
   },
   "result": {
     "id": "minecraft:bell",

+ 3 - 1
data/renewable/recipe/blue_ice.json

@@ -7,7 +7,9 @@
     "III"
   ],
   "key": {
-    "I": "minecraft:packed_ice"
+    "I": {
+      "item": "minecraft:packed_ice"
+    }
   },
   "result": {
     "id": "minecraft:blue_ice",

+ 3 - 1
data/renewable/recipe/brain_coral_block.json

@@ -6,7 +6,9 @@
     "FF"
   ],
   "key": {
-    "F": "minecraft:brain_coral_fan"
+    "F": {
+      "item": "minecraft:brain_coral_fan"
+    }
   },
   "result": {
     "id": "minecraft:brain_coral_block",

+ 3 - 1
data/renewable/recipe/bubble_coral_block.json

@@ -6,7 +6,9 @@
     "FF"
   ],
   "key": {
-    "F": "minecraft:bubble_coral_fan"
+    "F": {
+      "item": "minecraft:bubble_coral_fan"
+    }
   },
   "result": {
     "id": "minecraft:bubble_coral_block",

+ 6 - 2
data/renewable/recipe/budding_amethyst.json

@@ -7,8 +7,12 @@
     "CCC"
   ],
   "key": {
-    "C": "minecraft:calcite",
-    "A": "minecraft:amethyst_block"
+    "C": {
+      "item": "minecraft:calcite"
+    },
+    "A": {
+      "item": "minecraft:amethyst_block"
+    }
   },
   "result": {
     "id": "minecraft:budding_amethyst",

+ 12 - 4
data/renewable/recipe/calcite.json

@@ -2,10 +2,18 @@
   "type": "minecraft:crafting_shapeless",
   "category": "building",
   "ingredients": [
-    "minecraft:diorite",
-    "minecraft:diorite",
-    "minecraft:bone_meal",
-    "minecraft:bone_meal"
+    {
+      "item": "minecraft:diorite"
+    },
+    {
+      "item": "minecraft:diorite"
+    },
+    {
+      "item": "minecraft:bone_meal"
+    },
+    {
+      "item": "minecraft:bone_meal"
+    }
   ],
   "result": {
     "id": "minecraft:calcite",

+ 3 - 1
data/renewable/recipe/chainmail_boots.json

@@ -6,7 +6,9 @@
     "N N"
   ],
   "key": {
-    "N": "minecraft:iron_nugget"
+    "N": {
+      "item": "minecraft:iron_nugget"
+    }
   },
   "result": {
     "id": "minecraft:chainmail_boots",

+ 3 - 1
data/renewable/recipe/chainmail_chestplate.json

@@ -7,7 +7,9 @@
     "NNN"
   ],
   "key": {
-    "N": "minecraft:iron_nugget"
+    "N": {
+      "item": "minecraft:iron_nugget"
+    }
   },
   "result": {
     "id": "minecraft:chainmail_chestplate",

+ 3 - 1
data/renewable/recipe/chainmail_helmet.json

@@ -6,7 +6,9 @@
     "N N"
   ],
   "key": {
-    "N": "minecraft:iron_nugget"
+    "N": {
+      "item": "minecraft:iron_nugget"
+    }
   },
   "result": {
     "id": "minecraft:chainmail_helmet",

+ 3 - 1
data/renewable/recipe/chainmail_leggings.json

@@ -7,7 +7,9 @@
     "N N"
   ],
   "key": {
-    "N": "minecraft:iron_nugget"
+    "N": {
+      "item": "minecraft:iron_nugget"
+    }
   },
   "result": {
     "id": "minecraft:chainmail_leggings",

+ 3 - 1
data/renewable/recipe/diamond_horse_armor.json

@@ -7,7 +7,9 @@
     "III"
   ],
   "key": {
-    "I": "minecraft:diamond"
+    "I": {
+      "item": "minecraft:diamond"
+    }
   },
   "result": {
     "id": "minecraft:diamond_horse_armor",

+ 27 - 9
data/renewable/recipe/diorite_from_cobblestone.json

@@ -2,15 +2,33 @@
   "type": "minecraft:crafting_shapeless",
   "category": "building",
   "ingredients": [
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:bone_meal"
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:bone_meal"
+    }
   ],
   "result": {
     "id": "minecraft:diorite",

+ 6 - 2
data/renewable/recipe/elytra.json

@@ -7,8 +7,12 @@
     "M M"
   ],
   "key": {
-    "M": "minecraft:phantom_membrane",
-    "D": "minecraft:diamond"
+    "M": {
+      "item": "minecraft:phantom_membrane"
+    },
+    "D": {
+      "item": "minecraft:diamond"
+    }
   },
   "result": {
     "id": "minecraft:elytra",

+ 6 - 2
data/renewable/recipe/enchanted_golden_apple.json

@@ -7,8 +7,12 @@
     "GGG"
   ],
   "key": {
-    "G": "minecraft:gold_block",
-    "A": "minecraft:apple"
+    "G": {
+      "item": "minecraft:gold_block"
+    },
+    "A": {
+      "item": "minecraft:apple"
+    }
   },
   "result": {
     "id": "minecraft:enchanted_golden_apple",

+ 9 - 3
data/renewable/recipe/end_stone.json

@@ -7,9 +7,15 @@
     "SES"
   ],
   "key": {
-    "S": "minecraft:sandstone",
-    "E": "minecraft:ender_pearl",
-    "C": "minecraft:chorus_fruit"
+    "S": {
+      "item": "minecraft:sandstone"
+    },
+    "E": {
+      "item": "minecraft:ender_pearl"
+    },
+    "C": {
+      "item": "minecraft:chorus_fruit"
+    }
   },
   "result": {
     "id": "minecraft:end_stone",

+ 3 - 1
data/renewable/recipe/fire_coral_block.json

@@ -6,7 +6,9 @@
     "FF"
   ],
   "key": {
-    "F": "minecraft:fire_coral_fan"
+    "F": {
+      "item": "minecraft:fire_coral_fan"
+    }
   },
   "result": {
     "id": "minecraft:fire_coral_block",

+ 3 - 1
data/renewable/recipe/golden_horse_armor.json

@@ -7,7 +7,9 @@
     "III"
   ],
   "key": {
-    "I": "minecraft:gold_ingot"
+    "I": {
+      "item": "minecraft:gold_ingot"
+    }
   },
   "result": {
     "id": "minecraft:golden_horse_armor",

+ 27 - 9
data/renewable/recipe/granite_from_cobblestone.json

@@ -2,15 +2,33 @@
   "type": "minecraft:crafting_shapeless",
   "category": "building",
   "ingredients": [
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:cobblestone",
-    "minecraft:brick"
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:cobblestone"
+    },
+    {
+      "item": "minecraft:brick"
+    }
   ],
   "result": {
     "id": "minecraft:granite",

+ 6 - 2
data/renewable/recipe/heart_of_the_sea.json

@@ -7,8 +7,12 @@
     "NNN"
   ],
   "key": {
-    "N": "minecraft:nautilus_shell",
-    "D": "minecraft:diamond"
+    "N": {
+      "item": "minecraft:nautilus_shell"
+    },
+    "D": {
+      "item": "minecraft:diamond"
+    }
   },
   "result": {
     "id": "minecraft:heart_of_the_sea",

+ 3 - 1
data/renewable/recipe/horn_coral_block.json

@@ -6,7 +6,9 @@
     "FF"
   ],
   "key": {
-    "F": "minecraft:horn_coral_fan"
+    "F": {
+      "item": "minecraft:horn_coral_fan"
+    }
   },
   "result": {
     "id": "minecraft:horn_coral_block",

+ 3 - 1
data/renewable/recipe/iron_horse_armor.json

@@ -7,7 +7,9 @@
     "III"
   ],
   "key": {
-    "I": "minecraft:iron_ingot"
+    "I": {
+      "item": "minecraft:iron_ingot"
+    }
   },
   "result": {
     "id": "minecraft:iron_horse_armor",

+ 9 - 3
data/renewable/recipe/name_tag.json

@@ -2,9 +2,15 @@
   "type": "minecraft:crafting_shapeless",
   "category": "misc",
   "ingredients": [
-    "minecraft:iron_ingot",
-    "minecraft:paper",
-    "minecraft:string"
+    {
+      "item": "minecraft:iron_ingot"
+    },
+    {
+      "item": "minecraft:paper"
+    },
+    {
+      "item": "minecraft:string"
+    }
   ],
   "result": {
     "id": "minecraft:name_tag",

+ 3 - 1
data/renewable/recipe/netherrack_from_cobblestone.json

@@ -1,7 +1,9 @@
 {
   "type": "minecraft:smelting",
   "category": "blocks",
-  "ingredient": "minecraft:cobblestone",
+  "ingredient": {
+    "item": "minecraft:cobblestone"
+  },
   "result": {
     "id": "minecraft:netherrack"
   },

+ 3 - 1
data/renewable/recipe/packed_ice.json

@@ -7,7 +7,9 @@
     "III"
   ],
   "key": {
-    "I": "minecraft:ice"
+    "I": {
+      "item": "minecraft:ice"
+    }
   },
   "result": {
     "id": "minecraft:packed_ice",

+ 15 - 5
data/renewable/recipe/red_sand.json

@@ -2,11 +2,21 @@
   "type": "minecraft:crafting_shapeless",
   "category": "building",
   "ingredients": [
-    "minecraft:sand",
-    "minecraft:sand",
-    "minecraft:sand",
-    "minecraft:sand",
-    "minecraft:red_dye"
+    {
+      "item": "minecraft:sand"
+    },
+    {
+      "item": "minecraft:sand"
+    },
+    {
+      "item": "minecraft:sand"
+    },
+    {
+      "item": "minecraft:sand"
+    },
+    {
+      "item": "minecraft:red_dye"
+    }
   ],
   "result": {
     "id": "minecraft:red_sand",

+ 6 - 2
data/renewable/recipe/saddle.json

@@ -7,8 +7,12 @@
     "I I"
   ],
   "key": {
-    "L": "minecraft:leather",
-    "I": "minecraft:iron_ingot"
+    "L": {
+      "item": "minecraft:leather"
+    },
+    "I": {
+      "item": "minecraft:iron_ingot"
+    }
   },
   "result": {
     "id": "minecraft:saddle",

+ 3 - 1
data/renewable/recipe/sand_from_gravel.json

@@ -1,7 +1,9 @@
 {
   "type": "minecraft:smelting",
   "category": "blocks",
-  "ingredient": "minecraft:gravel",
+  "ingredient": {
+    "item": "minecraft:gravel"
+  },
   "result": {
     "id": "minecraft:sand"
   },

+ 6 - 2
data/renewable/recipe/sponge.json

@@ -7,8 +7,12 @@
     "WWW"
   ],
   "key": {
-    "W": "minecraft:white_wool",
-    "S": "minecraft:slime_ball"
+    "W": {
+      "item": "minecraft:white_wool"
+    },
+    "S": {
+      "item": "minecraft:slime_ball"
+    }
   },
   "result": {
     "id": "minecraft:sponge",

+ 3 - 1
data/renewable/recipe/stone_from_andesite.json

@@ -1,7 +1,9 @@
 {
   "type": "minecraft:smelting",
   "category": "blocks",
-  "ingredient": "minecraft:andesite",
+  "ingredient": {
+    "item": "minecraft:andesite"
+  },
   "result": {
     "id": "minecraft:stone"
   },

+ 3 - 1
data/renewable/recipe/stone_from_diorite.json

@@ -1,7 +1,9 @@
 {
   "type": "minecraft:smelting",
   "category": "blocks",
-  "ingredient": "minecraft:diorite",
+  "ingredient": {
+    "item": "minecraft:diorite"
+  },
   "result": {
     "id": "minecraft:stone"
   },

+ 3 - 1
data/renewable/recipe/stone_from_granite.json

@@ -1,7 +1,9 @@
 {
   "type": "minecraft:smelting",
   "category": "blocks",
-  "ingredient": "minecraft:granite",
+  "ingredient": {
+    "item": "minecraft:granite"
+  },
   "result": {
     "id": "minecraft:stone"
   },

+ 9 - 3
data/renewable/recipe/trident.json

@@ -7,9 +7,15 @@
     " S "
   ],
   "key": {
-    "P": "minecraft:prismarine_shard",
-    "H": "minecraft:heart_of_the_sea",
-    "S": "minecraft:stick"
+    "P": {
+      "item": "minecraft:prismarine_shard"
+    },
+    "H": {
+      "item": "minecraft:heart_of_the_sea"
+    },
+    "S": {
+      "item": "minecraft:stick"
+    }
   },
   "result": {
     "id": "minecraft:trident",

+ 3 - 1
data/renewable/recipe/tube_coral_block.json

@@ -6,7 +6,9 @@
     "FF"
   ],
   "key": {
-    "F": "minecraft:tube_coral_fan"
+    "F": {
+      "item": "minecraft:tube_coral_fan"
+    }
   },
   "result": {
     "id": "minecraft:tube_coral_block",

+ 6 - 2
data/renewable/recipe/tuff.json

@@ -6,8 +6,12 @@
     "CG"
   ],
   "key": {
-    "G": "minecraft:gravel",
-    "C": "minecraft:cobblestone"
+    "G": {
+      "item": "minecraft:gravel"
+    },
+    "C": {
+      "item": "minecraft:cobblestone"
+    }
   },
   "result": {
     "id": "minecraft:tuff",

+ 2 - 2
pack.mcmeta

@@ -1,7 +1,7 @@
 {
   "pack": {
-    "min_format": 94,
-    "max_format": 94,
+    "pack_format": 48,
+    "supported_formats": [48, 94],
     "description": "Renewable Resources - Recipes+Loot+Trade+Enchant+Worldgen"
   }
 }