From b2235bf5040c328977b807369edbfd552342e2f4 Mon Sep 17 00:00:00 2001 From: Glitchlabs Date: Fri, 26 Jun 2026 22:57:52 +0200 Subject: [PATCH] + recepies --- .../9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 33 +++++++++ .../black_glow_stained_glass.json | 32 ++++++++ .../blue_glow_stained_glass.json | 32 ++++++++ .../brown_glow_stained_glass.json | 32 ++++++++ .../cyan_glow_stained_glass.json | 32 ++++++++ .../gray_glow_stained_glass.json | 32 ++++++++ .../green_glow_stained_glass.json | 32 ++++++++ .../light_blue_glow_stained_glass.json | 32 ++++++++ .../light_gray_glow_stained_glass.json | 32 ++++++++ .../lime_glow_stained_glass.json | 32 ++++++++ .../magenta_glow_stained_glass.json | 32 ++++++++ .../orange_glow_stained_glass.json | 32 ++++++++ .../pink_glow_stained_glass.json | 32 ++++++++ .../purple_glow_stained_glass.json | 32 ++++++++ .../red_glow_stained_glass.json | 32 ++++++++ .../white_glow_stained_glass.json | 32 ++++++++ .../yellow_glow_stained_glass.json | 32 ++++++++ .../recipe/black_glow_stained_glass.json | 22 ++++++ .../recipe/blue_glow_stained_glass.json | 22 ++++++ .../recipe/brown_glow_stained_glass.json | 22 ++++++ .../recipe/cyan_glow_stained_glass.json | 22 ++++++ .../recipe/gray_glow_stained_glass.json | 22 ++++++ .../recipe/green_glow_stained_glass.json | 22 ++++++ .../recipe/light_blue_glow_stained_glass.json | 22 ++++++ .../recipe/light_gray_glow_stained_glass.json | 22 ++++++ .../recipe/lime_glow_stained_glass.json | 22 ++++++ .../recipe/magenta_glow_stained_glass.json | 22 ++++++ .../recipe/orange_glow_stained_glass.json | 22 ++++++ .../recipe/pink_glow_stained_glass.json | 22 ++++++ .../recipe/purple_glow_stained_glass.json | 22 ++++++ .../recipe/red_glow_stained_glass.json | 22 ++++++ .../recipe/white_glow_stained_glass.json | 22 ++++++ .../recipe/yellow_glow_stained_glass.json | 22 ++++++ .../ornamentum/datagen/DataGenerators.java | 2 + .../ornamentum/datagen/ModRecipeProvider.java | 69 ++++++++++++++++++ .../block/purple_glow_stained_glass.png | Bin 106 -> 191 bytes .../data/ornamentum/recipe/iron_grate.json | 17 +++++ 37 files changed, 985 insertions(+) create mode 100644 src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/black_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/blue_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/brown_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/cyan_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/gray_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/green_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_blue_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_gray_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/lime_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/magenta_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/orange_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/pink_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/purple_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/red_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/white_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/yellow_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/black_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/blue_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/brown_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/cyan_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/gray_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/green_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/light_blue_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/light_gray_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/lime_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/magenta_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/orange_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/pink_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/purple_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/red_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/white_glow_stained_glass.json create mode 100644 src/generated/resources/data/ornamentum/recipe/yellow_glow_stained_glass.json create mode 100644 src/main/java/ovh/glitchlabs/ornamentum/datagen/ModRecipeProvider.java create mode 100644 src/main/resources/data/ornamentum/recipe/iron_grate.json diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e new file mode 100644 index 0000000..88482e6 --- /dev/null +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -0,0 +1,33 @@ +// 1.21.1 2026-06-26T22:47:10.999126598 Recipes +82efb330df3536b2b91cb59d6f7443c32c6b0f4a data/ornamentum/advancement/recipes/building_blocks/black_glow_stained_glass.json +986d6e3da35726b4cd1d0c4d8ebcaae376e19fcb data/ornamentum/advancement/recipes/building_blocks/blue_glow_stained_glass.json +9001f25abdb03979c0efed37d6453eac7808a0fe data/ornamentum/advancement/recipes/building_blocks/brown_glow_stained_glass.json +fb2f603f817751b768ba3413e5cc87f43d287a24 data/ornamentum/advancement/recipes/building_blocks/cyan_glow_stained_glass.json +df02622b692ce408db63bdbdbd6a656e18447075 data/ornamentum/advancement/recipes/building_blocks/gray_glow_stained_glass.json +4852ce5493fd760a2a1b76db9e809b4052ca3dce data/ornamentum/advancement/recipes/building_blocks/green_glow_stained_glass.json +c400a39e9436fe52ac7365423482afa8483c239f data/ornamentum/advancement/recipes/building_blocks/light_blue_glow_stained_glass.json +6c170f11b80c25a798f9bb443e2ecbcd984ab947 data/ornamentum/advancement/recipes/building_blocks/light_gray_glow_stained_glass.json +4e05503ae5d9d4b57b23c8b61324c7f8f4865be0 data/ornamentum/advancement/recipes/building_blocks/lime_glow_stained_glass.json +4d72f0a8af65bab71d26806a54dbc4f61e66052c data/ornamentum/advancement/recipes/building_blocks/magenta_glow_stained_glass.json +84245d2c099f122ea5969931e16f1d1f106b32cc data/ornamentum/advancement/recipes/building_blocks/orange_glow_stained_glass.json +1b5a37b475dab0604a2af7369a2add670ae2d8f8 data/ornamentum/advancement/recipes/building_blocks/pink_glow_stained_glass.json +725c91eb7ed7e17497313044caa80c605a98ff4d data/ornamentum/advancement/recipes/building_blocks/purple_glow_stained_glass.json +670adda744880b018c44bd831dd08892b14bb18f data/ornamentum/advancement/recipes/building_blocks/red_glow_stained_glass.json +0d50d49d50103cfabe80700bd0336a93b6fcaa91 data/ornamentum/advancement/recipes/building_blocks/white_glow_stained_glass.json +6ee3ed6b69a377a65945341505ec19f795eadb85 data/ornamentum/advancement/recipes/building_blocks/yellow_glow_stained_glass.json +7cfe4d663c2ec0c20da98280a4b1027e41883161 data/ornamentum/recipe/black_glow_stained_glass.json +b45d8b7fa2c49e507afaa24edc0ce370e21edd6e data/ornamentum/recipe/blue_glow_stained_glass.json +6b1dd3de8ca8c03360a9801be86716cd7b7d0b48 data/ornamentum/recipe/brown_glow_stained_glass.json +0953be9781f878a4d4506a751bf6580f27b5f3de data/ornamentum/recipe/cyan_glow_stained_glass.json +8093de1956ab9c6e58bca99d5d7071a40a718b5d data/ornamentum/recipe/gray_glow_stained_glass.json +353a45623f5f237a337f3dca5f60965f80a5b083 data/ornamentum/recipe/green_glow_stained_glass.json +b70ca6c47ea8f74bd43dff06d476fd8dcec9a77b data/ornamentum/recipe/light_blue_glow_stained_glass.json +fb1564fd6768ae3dff7eb48c85eb533d7ffde9af data/ornamentum/recipe/light_gray_glow_stained_glass.json +e48af5d1f85436b9284d8ef4110ba53a05ba0d4f data/ornamentum/recipe/lime_glow_stained_glass.json +4f5770b4ec18dc34f82874600dd9e3e8e768daed data/ornamentum/recipe/magenta_glow_stained_glass.json +de52b52205a33203203408a238109b2d1bd0fcb3 data/ornamentum/recipe/orange_glow_stained_glass.json +c80feb0f43a685ca8c5e17ae204a535b14b8fbc7 data/ornamentum/recipe/pink_glow_stained_glass.json +2eee5c0fef8b235633bf44501d1451974e5b265a data/ornamentum/recipe/purple_glow_stained_glass.json +3ae98fd64c832069747d0afc5a35579bf44fb0ee data/ornamentum/recipe/red_glow_stained_glass.json +4ebc5a3be2cd74b9a6fb772a0d61c2edee3c06ff data/ornamentum/recipe/white_glow_stained_glass.json +a95c50ef6e0345d86baf3ec6dc8a0ba83d488186 data/ornamentum/recipe/yellow_glow_stained_glass.json diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/black_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/black_glow_stained_glass.json new file mode 100644 index 0000000..188d5d1 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/black_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:black_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:black_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/blue_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/blue_glow_stained_glass.json new file mode 100644 index 0000000..0734373 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/blue_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:blue_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:blue_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/brown_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/brown_glow_stained_glass.json new file mode 100644 index 0000000..6acd4c4 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/brown_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:brown_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:brown_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/cyan_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/cyan_glow_stained_glass.json new file mode 100644 index 0000000..685e0ea --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/cyan_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:cyan_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:cyan_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/gray_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/gray_glow_stained_glass.json new file mode 100644 index 0000000..cf10b90 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/gray_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:gray_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:gray_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/green_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/green_glow_stained_glass.json new file mode 100644 index 0000000..9a2e92c --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/green_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:green_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:green_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_blue_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_blue_glow_stained_glass.json new file mode 100644 index 0000000..b253bb6 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_blue_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:light_blue_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:light_blue_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_gray_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_gray_glow_stained_glass.json new file mode 100644 index 0000000..15dbc42 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/light_gray_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:light_gray_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:light_gray_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/lime_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/lime_glow_stained_glass.json new file mode 100644 index 0000000..ece25f3 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/lime_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:lime_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:lime_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/magenta_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/magenta_glow_stained_glass.json new file mode 100644 index 0000000..4968e67 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/magenta_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:magenta_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:magenta_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/orange_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/orange_glow_stained_glass.json new file mode 100644 index 0000000..35d4c58 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/orange_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:orange_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:orange_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/pink_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/pink_glow_stained_glass.json new file mode 100644 index 0000000..2d07b33 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/pink_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:pink_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:pink_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/purple_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/purple_glow_stained_glass.json new file mode 100644 index 0000000..1650ab1 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/purple_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:purple_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:purple_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/red_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/red_glow_stained_glass.json new file mode 100644 index 0000000..0a778b7 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/red_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:red_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:red_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/white_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/white_glow_stained_glass.json new file mode 100644 index 0000000..13e97d1 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/white_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:white_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:white_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/yellow_glow_stained_glass.json b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/yellow_glow_stained_glass.json new file mode 100644 index 0000000..5fbb896 --- /dev/null +++ b/src/generated/resources/data/ornamentum/advancement/recipes/building_blocks/yellow_glow_stained_glass.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_glow_ink_sac": { + "conditions": { + "items": [ + { + "items": "minecraft:glow_ink_sac" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "ornamentum:yellow_glow_stained_glass" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_glow_ink_sac" + ] + ], + "rewards": { + "recipes": [ + "ornamentum:yellow_glow_stained_glass" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/black_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/black_glow_stained_glass.json new file mode 100644 index 0000000..e8f0d58 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/black_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:black_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:black_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/blue_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/blue_glow_stained_glass.json new file mode 100644 index 0000000..92e19ae --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/blue_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:blue_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:blue_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/brown_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/brown_glow_stained_glass.json new file mode 100644 index 0000000..056f494 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/brown_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:brown_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:brown_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/cyan_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/cyan_glow_stained_glass.json new file mode 100644 index 0000000..75d7648 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/cyan_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:cyan_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:cyan_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/gray_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/gray_glow_stained_glass.json new file mode 100644 index 0000000..78e6352 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/gray_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:gray_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:gray_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/green_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/green_glow_stained_glass.json new file mode 100644 index 0000000..b9caca4 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/green_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:green_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:green_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/light_blue_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/light_blue_glow_stained_glass.json new file mode 100644 index 0000000..e07e337 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/light_blue_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:light_blue_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:light_blue_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/light_gray_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/light_gray_glow_stained_glass.json new file mode 100644 index 0000000..bb7b02b --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/light_gray_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:light_gray_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:light_gray_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/lime_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/lime_glow_stained_glass.json new file mode 100644 index 0000000..440b9bb --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/lime_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:lime_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:lime_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/magenta_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/magenta_glow_stained_glass.json new file mode 100644 index 0000000..53f187b --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/magenta_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:magenta_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:magenta_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/orange_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/orange_glow_stained_glass.json new file mode 100644 index 0000000..c0772ac --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/orange_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:orange_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:orange_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/pink_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/pink_glow_stained_glass.json new file mode 100644 index 0000000..1af5838 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/pink_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:pink_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:pink_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/purple_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/purple_glow_stained_glass.json new file mode 100644 index 0000000..b786336 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/purple_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:purple_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:purple_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/red_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/red_glow_stained_glass.json new file mode 100644 index 0000000..12b465f --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/red_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:red_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:red_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/white_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/white_glow_stained_glass.json new file mode 100644 index 0000000..7297122 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/white_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:white_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:white_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/ornamentum/recipe/yellow_glow_stained_glass.json b/src/generated/resources/data/ornamentum/recipe/yellow_glow_stained_glass.json new file mode 100644 index 0000000..02105c2 --- /dev/null +++ b/src/generated/resources/data/ornamentum/recipe/yellow_glow_stained_glass.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "building", + "group": "stained_glass", + "key": { + "#": { + "item": "minecraft:yellow_stained_glass" + }, + "X": { + "item": "minecraft:glow_ink_sac" + } + }, + "pattern": [ + "###", + "#X#", + "###" + ], + "result": { + "count": 8, + "id": "ornamentum:yellow_glow_stained_glass" + } +} \ No newline at end of file diff --git a/src/main/java/ovh/glitchlabs/ornamentum/datagen/DataGenerators.java b/src/main/java/ovh/glitchlabs/ornamentum/datagen/DataGenerators.java index 90f10ad..b4fb436 100644 --- a/src/main/java/ovh/glitchlabs/ornamentum/datagen/DataGenerators.java +++ b/src/main/java/ovh/glitchlabs/ornamentum/datagen/DataGenerators.java @@ -39,5 +39,7 @@ public class DataGenerators { generator.addProvider(event.includeClient(), new ModBlockStateProvider(packOutput, existingFileHelper)); generator.addProvider(event.includeClient(), new ModLanguageProvider(packOutput)); + + generator.addProvider(event.includeServer(), new ModRecipeProvider(packOutput, lookupProvider)); } } diff --git a/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModRecipeProvider.java b/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModRecipeProvider.java new file mode 100644 index 0000000..f49d324 --- /dev/null +++ b/src/main/java/ovh/glitchlabs/ornamentum/datagen/ModRecipeProvider.java @@ -0,0 +1,69 @@ +package ovh.glitchlabs.ornamentum.datagen; + +import net.minecraft.core.HolderLookup; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeOutput; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.world.item.Item; +import net.minecraft.world.item.Items; +import net.minecraft.world.level.ItemLike; +import ovh.glitchlabs.ornamentum.blocks.ModBlocks; + +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.concurrent.CompletableFuture; + +public class ModRecipeProvider extends RecipeProvider { + + public ModRecipeProvider(PackOutput output, + CompletableFuture registries) { + super(output, registries); + } + + @Override + protected void buildRecipes(RecipeOutput output) { + + Map glowGlassRecipes = new LinkedHashMap<>(); + + glowGlassRecipes.put(Items.WHITE_STAINED_GLASS, ModBlocks.WHITE_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.ORANGE_STAINED_GLASS, ModBlocks.ORANGE_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.MAGENTA_STAINED_GLASS, ModBlocks.MAGENTA_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.LIGHT_BLUE_STAINED_GLASS, ModBlocks.LIGHT_BLUE_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.YELLOW_STAINED_GLASS, ModBlocks.YELLOW_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.LIME_STAINED_GLASS, ModBlocks.LIME_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.PINK_STAINED_GLASS, ModBlocks.PINK_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.GRAY_STAINED_GLASS, ModBlocks.GRAY_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.LIGHT_GRAY_STAINED_GLASS, ModBlocks.LIGHT_GRAY_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.CYAN_STAINED_GLASS, ModBlocks.CYAN_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.PURPLE_STAINED_GLASS, ModBlocks.PURPLE_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.BLUE_STAINED_GLASS, ModBlocks.BLUE_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.BROWN_STAINED_GLASS, ModBlocks.BROWN_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.GREEN_STAINED_GLASS, ModBlocks.GREEN_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.RED_STAINED_GLASS, ModBlocks.RED_GLOW_STAINED_GLASS.get()); + glowGlassRecipes.put(Items.BLACK_STAINED_GLASS, ModBlocks.BLACK_GLOW_STAINED_GLASS.get()); + + glowGlassRecipes.forEach((input, result) -> + createGlowGlassRecipe(output, input, result)); + } + + private void createGlowGlassRecipe(RecipeOutput output, + ItemLike input, + ItemLike result) { + + ShapedRecipeBuilder.shaped( + RecipeCategory.BUILDING_BLOCKS, + result, + 8 + ) + .pattern("###") + .pattern("#X#") + .pattern("###") + .define('#', input) + .define('X', Items.GLOW_INK_SAC) + .group("stained_glass") + .unlockedBy("has_glow_ink_sac", has(Items.GLOW_INK_SAC)) + .save(output); + } +} \ No newline at end of file diff --git a/src/main/resources/assets/ornamentum/textures/block/purple_glow_stained_glass.png b/src/main/resources/assets/ornamentum/textures/block/purple_glow_stained_glass.png index fed02859225ac644efe9dd691b650d9f50f482f9..2b30397ffb5c312d033e47444050cde851649cb8 100644 GIT binary patch delta 162 zcmV;T0A2rTzX6aWe{@MiK~#7F?2^$5z#t4nqdWDpbhHlB4Z1=z^w3rgi0A-|+iLn|mn-T+NQ{sZz)bhfp0VBqM i*_0SCn