From 97177000b0be2040d8460cfd04b52d04ac8493ca Mon Sep 17 00:00:00 2001 From: Ayutac Date: Fri, 11 Feb 2022 15:02:07 +0100 Subject: [PATCH] Added toasts for crafting_table/misc_block --- .../misc_block/computer_cube.json | 43 ++++++++++++ .../crafting_table/misc_block/gravel.json | 65 +++++++++++++++++++ .../misc_block/refined_iron_fence.json | 32 +++++++++ .../misc_block/reinforced_glass.json | 43 ++++++++++++ .../misc_block/reinforced_glass_alt.json | 43 ++++++++++++ .../misc_block/rubber_button.json | 32 +++++++++ .../misc_block/rubber_door.json | 32 +++++++++ .../misc_block/rubber_fence.json | 32 +++++++++ .../misc_block/rubber_fence_gate.json | 32 +++++++++ .../misc_block/rubber_plank_slab.json | 32 +++++++++ .../misc_block/rubber_plank_stair.json | 32 +++++++++ .../misc_block/rubber_pressure_plate.json | 32 +++++++++ .../misc_block/rubber_trapdoor.json | 32 +++++++++ .../misc_block/rubber_wood.json | 32 +++++++++ .../crafting_table/misc_block/sponge.json | 32 +++++++++ .../misc_block/stripped_rubber_wood.json | 32 +++++++++ 16 files changed, 578 insertions(+) create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/computer_cube.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/gravel.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/refined_iron_fence.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass_alt.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_button.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_door.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence_gate.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_slab.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_stair.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_pressure_plate.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_trapdoor.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_wood.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/sponge.json create mode 100644 src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/stripped_rubber_wood.json diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/computer_cube.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/computer_cube.json new file mode 100644 index 000000000..503f9820b --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/computer_cube.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/computer_cube" + ] + }, + "criteria": { + "has_energy_flow_chip": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:energy_flow_chip"] + } + ] + } + }, + "has_data_storage_chip": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:data_storage_chip"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/computer_cube" + } + } + }, + "requirements": [ + [ + "has_energy_flow_chip", + "has_data_storage_chip", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/gravel.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/gravel.json new file mode 100644 index 000000000..4fc68f348 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/gravel.json @@ -0,0 +1,65 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/gravel" + ] + }, + "criteria": { + "has_andesite_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:andesite_dusts" + } + ] + } + }, + "has_diorite_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:diorite_dusts" + } + ] + } + }, + "has_granite_dust": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:granite_dusts" + } + ] + } + }, + "has_flint": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:flint"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/gravel" + } + } + }, + "requirements": [ + [ + "has_andesite_dust", + "has_diorite_dust", + "has_granite_dust", + "has_flint", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/refined_iron_fence.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/refined_iron_fence.json new file mode 100644 index 000000000..52e3a5c70 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/refined_iron_fence.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/refined_iron_fence" + ] + }, + "criteria": { + "has_refined_iron": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:refined_iron_ingots" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/refined_iron_fence" + } + } + }, + "requirements": [ + [ + "has_refined_iron", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass.json new file mode 100644 index 000000000..f47b9ac50 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/reinforced_glass" + ] + }, + "criteria": { + "has_glass": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:glass"] + } + ] + } + }, + "has_lead_plate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:lead_plates" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/reinforced_glass" + } + } + }, + "requirements": [ + [ + "has_glass", + "has_lead_plate", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass_alt.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass_alt.json new file mode 100644 index 000000000..584db673c --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/reinforced_glass_alt.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/reinforced_glass_alt" + ] + }, + "criteria": { + "has_glass": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["minecraft:glass"] + } + ] + } + }, + "has_lead_plate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "c:lead_plates" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/reinforced_glass_alt" + } + } + }, + "requirements": [ + [ + "has_glass", + "has_lead_plate", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_button.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_button.json new file mode 100644 index 000000000..27df7420f --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_button.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_button" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_button" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_door.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_door.json new file mode 100644 index 000000000..eafe4fd07 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_door.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_door" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_door" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence.json new file mode 100644 index 000000000..07fe4fd97 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_fence" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_fence" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence_gate.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence_gate.json new file mode 100644 index 000000000..51025eba5 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_fence_gate.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_fence_gate" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_fence_gate" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_slab.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_slab.json new file mode 100644 index 000000000..dffd8692c --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_slab.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_plank_slab" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_plank_slab" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_stair.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_stair.json new file mode 100644 index 000000000..8cc002c53 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_plank_stair.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_plank_stair" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_plank_stair" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_pressure_plate.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_pressure_plate.json new file mode 100644 index 000000000..d352d1947 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_pressure_plate.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_pressure_plate" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_pressure_plate" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_trapdoor.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_trapdoor.json new file mode 100644 index 000000000..8757492fd --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_trapdoor.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_trapdoor" + ] + }, + "criteria": { + "has_rubber_planks": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_planks"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_trapdoor" + } + } + }, + "requirements": [ + [ + "has_rubber_planks", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_wood.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_wood.json new file mode 100644 index 000000000..fa878ebe3 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/rubber_wood.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/rubber_wood" + ] + }, + "criteria": { + "has_rubber_log": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_log"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/rubber_wood" + } + } + }, + "requirements": [ + [ + "has_rubber_log", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/sponge.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/sponge.json new file mode 100644 index 000000000..142b5736e --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/sponge.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/sponge" + ] + }, + "criteria": { + "has_sponge_piece": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:sponge_piece"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/sponge" + } + } + }, + "requirements": [ + [ + "has_sponge_piece", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/stripped_rubber_wood.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/stripped_rubber_wood.json new file mode 100644 index 000000000..6c67c20c6 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/misc_block/stripped_rubber_wood.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/misc_block/stripped_rubber_wood" + ] + }, + "criteria": { + "has_rubber_log_stripped": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:rubber_log_stripped"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/misc_block/stripped_rubber_wood" + } + } + }, + "requirements": [ + [ + "has_rubber_log_stripped", + "has_the_recipe" + ] + ] +} \ No newline at end of file