From 70524b0291cb7104808c0a79416ab9ee44869f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Carvalho?= Date: Wed, 3 Sep 2025 23:00:24 -0300 Subject: [PATCH] DIY-Die Default components --- pack/index.toml | 10 ++++++++++ pack/mods/default-components.pw.toml | 13 +++++++++++++ .../data/minecraft/default_components/all.json | 7 +++++++ .../datapack/required/dc_diy_die/pack.mcmeta | 6 ++++++ 4 files changed, 36 insertions(+) create mode 100644 pack/mods/default-components.pw.toml create mode 100644 pack/resources/datapack/required/dc_diy_die/data/minecraft/default_components/all.json create mode 100644 pack/resources/datapack/required/dc_diy_die/pack.mcmeta diff --git a/pack/index.toml b/pack/index.toml index 8878d72..5cba302 100644 --- a/pack/index.toml +++ b/pack/index.toml @@ -275,6 +275,10 @@ metafile = true file = "mods/crunchy-crunchy-advancements.pw.toml" metafile = true +[[files]] +file = "mods/default-components.pw.toml" +metafile = true + [[files]] file = "mods/defaulted-hotkeys.pw.toml" metafile = true @@ -806,6 +810,12 @@ file = "resources/datapack/required/ModfestPlushiesDataPack/data/modfest_plushie [[files]] file = "resources/datapack/required/ModfestPlushiesDataPack/pack.mcmeta" +[[files]] +file = "resources/datapack/required/dc_diy_die/data/minecraft/default_components/all.json" + +[[files]] +file = "resources/datapack/required/dc_diy_die/pack.mcmeta" + [[files]] file = "resources/datapack/required/mf_ballotbox/data/ballotbox/ballot/categories.json" diff --git a/pack/mods/default-components.pw.toml b/pack/mods/default-components.pw.toml new file mode 100644 index 0000000..80d0ba0 --- /dev/null +++ b/pack/mods/default-components.pw.toml @@ -0,0 +1,13 @@ +name = "Default Components" +filename = "default-components-1.0.1+1.21.5.jar" +side = "server" + +[download] +url = "https://cdn.modrinth.com/data/ReIHZWEq/versions/nDpdD2zL/default-components-1.0.1%2B1.21.5.jar" +hash-format = "sha512" +hash = "1923f028b1f4351c708f348aa8190595794394d900ef3239f2cc0c6d356171ad12ef76da30be21af83309c9d68d45a78a8ac1d28f4c4b5197f056d92e5aba261" + +[update] +[update.modrinth] +mod-id = "ReIHZWEq" +version = "nDpdD2zL" diff --git a/pack/resources/datapack/required/dc_diy_die/data/minecraft/default_components/all.json b/pack/resources/datapack/required/dc_diy_die/data/minecraft/default_components/all.json new file mode 100644 index 0000000..6d7e4da --- /dev/null +++ b/pack/resources/datapack/required/dc_diy_die/data/minecraft/default_components/all.json @@ -0,0 +1,7 @@ +{ + "target": "diy-die:*", + "add": { + "area_tools:can_use_in_area" : { "area_id" : "diy-die:dice_testing"}, + "minecraft:can_place_on" : { "blocks" : "minecraft:dark_oak_planks"} + } +} \ No newline at end of file diff --git a/pack/resources/datapack/required/dc_diy_die/pack.mcmeta b/pack/resources/datapack/required/dc_diy_die/pack.mcmeta new file mode 100644 index 0000000..694cdbc --- /dev/null +++ b/pack/resources/datapack/required/dc_diy_die/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 81, + "description": "Default Components for DIY-Die" + } +} \ No newline at end of file