diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/advanced_storage_unit.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/advanced_storage_unit.json new file mode 100644 index 000000000..34fd60466 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/advanced_storage_unit.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/unit/storage/advanced_storage_unit" + ] + }, + "criteria": { + "has_basic_storage_unit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:basic_storage_unit"] + } + ] + } + }, + "has_digital_display": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:digital_display"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/unit/storage/advanced_storage_unit" + } + } + }, + "requirements": [ + [ + "has_basic_storage_unit", + "has_digital_display", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/basic_storage_unit.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/basic_storage_unit.json new file mode 100644 index 000000000..7ad3520b5 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/basic_storage_unit.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/unit/storage/basic_storage_unit" + ] + }, + "criteria": { + "has_crude_storage_unit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:crude_storage_unit"] + } + ] + } + }, + "has_basic_display": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:basic_display"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/unit/storage/basic_storage_unit" + } + } + }, + "requirements": [ + [ + "has_crude_storage_unit", + "has_basic_display", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/crude_storage_unit.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/crude_storage_unit.json new file mode 100644 index 000000000..ca09b7585 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/crude_storage_unit.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/unit/storage/crude_storage_unit" + ] + }, + "criteria": { + "has_barrel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "blockus:barrels" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/unit/storage/crude_storage_unit" + } + } + }, + "requirements": [ + [ + "has_barrel", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/industrial_storage_unit.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/industrial_storage_unit.json new file mode 100644 index 000000000..f17687b40 --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/industrial_storage_unit.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/unit/storage/industrial_storage_unit" + ] + }, + "criteria": { + "has_advanced_storage_unit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:advanced_storage_unit"] + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "techreborn:crafting_table/unit/storage/industrial_storage_unit" + } + } + }, + "requirements": [ + [ + "has_advanced_storage_unit", + "has_the_recipe" + ] + ] +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/quantum_storage_unit.json b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/quantum_storage_unit.json new file mode 100644 index 000000000..f13b6487c --- /dev/null +++ b/src/main/resources/data/techreborn/advancements/recipes/crafting_table/unit/storage/quantum_storage_unit.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "rewards": { + "recipes": [ + "techreborn:crafting_table/unit/storage/quantum_storage_unit" + ] + }, + "criteria": { + "has_industrial_storage_unit": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": ["techreborn:industrial_storage_unit"] + } + ] + } + }, + "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/unit/storage/quantum_storage_unit" + } + } + }, + "requirements": [ + [ + "has_industrial_storage_unit", + "has_data_storage_chip", + "has_the_recipe" + ] + ] +} \ No newline at end of file