From a7a1e10304896213f8f914848343d2ace5d17e51 Mon Sep 17 00:00:00 2001 From: Abslb <2427310499@qq.com> Date: Fri, 3 Jan 2025 19:24:33 +0000 Subject: [PATCH] Added Crafting --- gradle.properties | 2 +- .../recipe/craft_debug_stick.json | 20 +++++++++++++++++++ src/main/resources/pack.mcmeta | 7 +++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/data/debugstickusage/recipe/craft_debug_stick.json create mode 100644 src/main/resources/pack.mcmeta diff --git a/gradle.properties b/gradle.properties index a9cd39b..21ac812 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ parchment_mappings_version=2024.11.17 # Must match the String constant located in the main mod class annotated with @Mod. mod_id=debugstickusage # The human-readable display name for the mod. -mod_name=DebugStickUsage +mod_name=Debug-Stick Usage # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=Unlicense # The mod version. See https://semver.org/ diff --git a/src/main/resources/data/debugstickusage/recipe/craft_debug_stick.json b/src/main/resources/data/debugstickusage/recipe/craft_debug_stick.json new file mode 100644 index 0000000..310e02b --- /dev/null +++ b/src/main/resources/data/debugstickusage/recipe/craft_debug_stick.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "equipment", + "key": { + "#": {"item": "minecraft:stick"}, + "X": {"item": "minecraft:breeze_rod"}, + "A": {"item": "minecraft:blaze_rod"}, + "B": {"item": "minecraft:nautilus_shell"}, + "C": {"item": "minecraft:carrot_on_a_stick"} + }, + "pattern": [ + "B A", + " # ", + "X C" + ], + "result": { + "count": 1, + "id": "minecraft:debug_stick" + } +} \ No newline at end of file diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta new file mode 100644 index 0000000..36d3c06 --- /dev/null +++ b/src/main/resources/pack.mcmeta @@ -0,0 +1,7 @@ +{ + "pack": { + "description": "Debug Stick Usage Data", + "pack_format": 15, + "forge:server_data_pack_format": 12 + } +}