From 764865c720059b0e9450b16251e814dde1a78fc5 Mon Sep 17 00:00:00 2001 From: Light_Quanta Date: Wed, 28 May 2025 01:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B8=95=E7=A7=8B=E8=8E=89?= =?UTF-8?q?=E6=89=8B=E5=86=8C=E5=90=88=E6=88=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 +-- .../superb_warfare_manual_crafting.json | 27 ++++++++++++++----- 2 files changed, 22 insertions(+), 9 deletions(-) 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