diff --git a/build.gradle b/build.gradle index 7f1916995..88831de28 100644 --- a/build.gradle +++ b/build.gradle @@ -134,8 +134,8 @@ dependencies { implementation "curse.maven:jade-324717:6291517" // 帕秋莉手册 -// compileOnly "curse.maven:patchouli-306770:6164617" -// runtimeOnly "curse.maven:patchouli-306770:6164617" + compileOnly "curse.maven:patchouli-306770:6164617" + runtimeOnly "curse.maven:patchouli-306770:6164617" // Cloth Config相关 implementation "me.shedaniel.cloth:cloth-config-neoforge:15.0.140" diff --git a/src/main/resources/data/superbwarfare/recipe/superb_warfare_manual_crafting.json b/src/main/resources/data/superbwarfare/recipe/superb_warfare_manual_crafting.json index 57ac714a0..7e6e2574b 100644 --- a/src/main/resources/data/superbwarfare/recipe/superb_warfare_manual_crafting.json +++ b/src/main/resources/data/superbwarfare/recipe/superb_warfare_manual_crafting.json @@ -1,12 +1,25 @@ { - "type": "patchouli:shapeless_book_recipe", - "ingredients": [ + "type": "minecraft:crafting_shapeless", + "conditions": [ { - "id": "minecraft:book" - }, - { - "id": "superbwarfare:empty_perk" + "type": "neoforge:mod_loaded", + "modid": "patchouli" } ], - "book": "superbwarfare:superb_warfare_manual" + "group": "something", + "ingredients": [ + { + "item": "minecraft:book" + }, + { + "item": "superbwarfare:empty_perk" + } + ], + "result": { + "id": "patchouli:guide_book", + "count": 1, + "components": { + "patchouli:book": "superbwarfare:superb_warfare_manual" + } + } } \ No newline at end of file