From 31a7fc9d03c51345b83739e43d65a0f0783d79c9 Mon Sep 17 00:00:00 2001 From: Gagooby Date: Mon, 4 Nov 2024 01:41:17 -0500 Subject: [PATCH] Added recipe advancements --- .../advancement/bus_connector.json | 26 +++++++++++++ .../data/serverstorage/advancement/cpu.json | 24 ++++++++++++ .../advancement/cpu_substrate.json | 24 ++++++++++++ .../advancement/cpu_unlocks.json | 29 +++++++++++++++ .../advancement/diamond_antenna.json | 24 ++++++++++++ .../advancement/diamond_drive.json | 24 ++++++++++++ .../advancement/diamond_head.json | 24 ++++++++++++ .../advancement/diamond_platter.json | 24 ++++++++++++ .../advancement/drive_casing.json | 24 ++++++++++++ .../advancement/golden_antenna.json | 24 ++++++++++++ .../advancement/golden_drive.json | 24 ++++++++++++ .../advancement/golden_head.json | 24 ++++++++++++ .../advancement/golden_platter.json | 24 ++++++++++++ .../advancement/iron_antenna.json | 24 ++++++++++++ .../serverstorage/advancement/iron_drive.json | 24 ++++++++++++ .../serverstorage/advancement/iron_head.json | 24 ++++++++++++ .../advancement/iron_platter.json | 24 ++++++++++++ .../serverstorage/advancement/modules.json | 37 +++++++++++++++++++ .../advancement/netherite_drive.json | 24 ++++++++++++ .../advancement/netherite_upgrade.json | 26 +++++++++++++ .../data/serverstorage/advancement/pcb.json | 25 +++++++++++++ .../advancement/pcb_substrate.json | 25 +++++++++++++ 22 files changed, 552 insertions(+) create mode 100644 src/main/resources/data/serverstorage/advancement/bus_connector.json create mode 100644 src/main/resources/data/serverstorage/advancement/cpu.json create mode 100644 src/main/resources/data/serverstorage/advancement/cpu_substrate.json create mode 100644 src/main/resources/data/serverstorage/advancement/cpu_unlocks.json create mode 100644 src/main/resources/data/serverstorage/advancement/diamond_antenna.json create mode 100644 src/main/resources/data/serverstorage/advancement/diamond_drive.json create mode 100644 src/main/resources/data/serverstorage/advancement/diamond_head.json create mode 100644 src/main/resources/data/serverstorage/advancement/diamond_platter.json create mode 100644 src/main/resources/data/serverstorage/advancement/drive_casing.json create mode 100644 src/main/resources/data/serverstorage/advancement/golden_antenna.json create mode 100644 src/main/resources/data/serverstorage/advancement/golden_drive.json create mode 100644 src/main/resources/data/serverstorage/advancement/golden_head.json create mode 100644 src/main/resources/data/serverstorage/advancement/golden_platter.json create mode 100644 src/main/resources/data/serverstorage/advancement/iron_antenna.json create mode 100644 src/main/resources/data/serverstorage/advancement/iron_drive.json create mode 100644 src/main/resources/data/serverstorage/advancement/iron_head.json create mode 100644 src/main/resources/data/serverstorage/advancement/iron_platter.json create mode 100644 src/main/resources/data/serverstorage/advancement/modules.json create mode 100644 src/main/resources/data/serverstorage/advancement/netherite_drive.json create mode 100644 src/main/resources/data/serverstorage/advancement/netherite_upgrade.json create mode 100644 src/main/resources/data/serverstorage/advancement/pcb.json create mode 100644 src/main/resources/data/serverstorage/advancement/pcb_substrate.json diff --git a/src/main/resources/data/serverstorage/advancement/bus_connector.json b/src/main/resources/data/serverstorage/advancement/bus_connector.json new file mode 100644 index 0000000..4359c67 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/bus_connector.json @@ -0,0 +1,26 @@ +{ + "criteria": { + "has_cpu": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:material_cpu" + } + ] + } + } + }, + "requirements": [ + [ + "has_cpu" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:bus_connector" + ] + } +} + + diff --git a/src/main/resources/data/serverstorage/advancement/cpu.json b/src/main/resources/data/serverstorage/advancement/cpu.json new file mode 100644 index 0000000..5abc410 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/cpu.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_substrate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:material_cpu_substrate" + } + ] + } + } + }, + "requirements": [ + [ + "has_substrate" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:cpu" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/cpu_substrate.json b/src/main/resources/data/serverstorage/advancement/cpu_substrate.json new file mode 100644 index 0000000..3a4f30d --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/cpu_substrate.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_amethyst_shard": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:amethyst_shard" + } + ] + } + } + }, + "requirements": [ + [ + "has_amethyst_shard" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:cpu_substrate" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/cpu_unlocks.json b/src/main/resources/data/serverstorage/advancement/cpu_unlocks.json new file mode 100644 index 0000000..20bf55f --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/cpu_unlocks.json @@ -0,0 +1,29 @@ +{ + "criteria": { + "has_cpu": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:material_cpu" + } + ] + } + } + }, + "requirements": [ + [ + "has_cpu" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:material_drive_controller", + "serverstorage:storage", + "serverstorage:inventory_interface", + "serverstorage:radio_interface", + "serverstorage:wireless_terminal", + "serverstorage:drive_container" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/diamond_antenna.json b/src/main/resources/data/serverstorage/advancement/diamond_antenna.json new file mode 100644 index 0000000..b1dcbc0 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/diamond_antenna.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_diamond": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:diamond" + } + ] + } + } + }, + "requirements": [ + [ + "has_diamond" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:diamond_antenna" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/diamond_drive.json b/src/main/resources/data/serverstorage/advancement/diamond_drive.json new file mode 100644 index 0000000..26c30ad --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/diamond_drive.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_diamond_platter": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:diamond_platter" + } + ] + } + } + }, + "requirements": [ + [ + "has_diamond_platter" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:diamond_drive" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/diamond_head.json b/src/main/resources/data/serverstorage/advancement/diamond_head.json new file mode 100644 index 0000000..dafdd24 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/diamond_head.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_diamond": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:diamond" + } + ] + } + } + }, + "requirements": [ + [ + "has_diamond" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:diamond_head" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/diamond_platter.json b/src/main/resources/data/serverstorage/advancement/diamond_platter.json new file mode 100644 index 0000000..de206f3 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/diamond_platter.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_diamond": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:diamond" + } + ] + } + } + }, + "requirements": [ + [ + "has_diamond" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:diamond_platter" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/drive_casing.json b/src/main/resources/data/serverstorage/advancement/drive_casing.json new file mode 100644 index 0000000..dcc7edd --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/drive_casing.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_iron_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:iron_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_iron_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:drive_casing" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/golden_antenna.json b/src/main/resources/data/serverstorage/advancement/golden_antenna.json new file mode 100644 index 0000000..10f2e26 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/golden_antenna.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_gold_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:gold_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_gold_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:golden_antenna" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/golden_drive.json b/src/main/resources/data/serverstorage/advancement/golden_drive.json new file mode 100644 index 0000000..7eb8665 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/golden_drive.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_golden_platter": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:golden_platter" + } + ] + } + } + }, + "requirements": [ + [ + "has_golden_platter" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:golden_drive" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/golden_head.json b/src/main/resources/data/serverstorage/advancement/golden_head.json new file mode 100644 index 0000000..6347788 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/golden_head.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_gold_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:gold_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_gold_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:golden_head" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/golden_platter.json b/src/main/resources/data/serverstorage/advancement/golden_platter.json new file mode 100644 index 0000000..3447770 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/golden_platter.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_gold_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:gold_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_gold_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:golden_platter" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/iron_antenna.json b/src/main/resources/data/serverstorage/advancement/iron_antenna.json new file mode 100644 index 0000000..ef884fa --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/iron_antenna.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_iron_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:iron_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_iron_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:iron_antenna" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/iron_drive.json b/src/main/resources/data/serverstorage/advancement/iron_drive.json new file mode 100644 index 0000000..918b04a --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/iron_drive.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_iron_platter": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:iron_platter" + } + ] + } + } + }, + "requirements": [ + [ + "has_iron_platter" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:iron_drive" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/iron_head.json b/src/main/resources/data/serverstorage/advancement/iron_head.json new file mode 100644 index 0000000..109ec01 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/iron_head.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_iron_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:iron_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_iron_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:iron_head" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/iron_platter.json b/src/main/resources/data/serverstorage/advancement/iron_platter.json new file mode 100644 index 0000000..de154c1 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/iron_platter.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_iron_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:iron_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_iron_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:iron_platter" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/modules.json b/src/main/resources/data/serverstorage/advancement/modules.json new file mode 100644 index 0000000..358104c --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/modules.json @@ -0,0 +1,37 @@ +{ + "criteria": { + "has_pcb_substrate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:material_pcb_substrate" + } + ] + } + } + }, + "requirements": [ + [ + "has_pcb_substrate" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:module_radio", + "serverstorage:module_pcb", + "serverstorage:module_antenna_connector", + "serverstorage:module_bus", + "serverstorage:module_configuration", + "serverstorage:module_container", + "serverstorage:module_display", + "serverstorage:module_drive", + "serverstorage:module_antenna", + "serverstorage:module_filtering", + "serverstorage:module_inventory", + "serverstorage:module_modem", + "serverstorage:module_pagination", + "serverstorage:module_transport" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/netherite_drive.json b/src/main/resources/data/serverstorage/advancement/netherite_drive.json new file mode 100644 index 0000000..1fc1c12 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/netherite_drive.json @@ -0,0 +1,24 @@ +{ + "criteria": { + "has_netherite_platter": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:netherite_platter" + } + ] + } + } + }, + "requirements": [ + [ + "has_netherite_platter" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:netherite_drive" + ] + } +} diff --git a/src/main/resources/data/serverstorage/advancement/netherite_upgrade.json b/src/main/resources/data/serverstorage/advancement/netherite_upgrade.json new file mode 100644 index 0000000..ecc819d --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/netherite_upgrade.json @@ -0,0 +1,26 @@ +{ + "criteria": { + "has_netherite_ingot": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:netherite_ingot" + } + ] + } + } + }, + "requirements": [ + [ + "has_netherite_ingot" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:netherite_upgrade" + ] + } +} + + diff --git a/src/main/resources/data/serverstorage/advancement/pcb.json b/src/main/resources/data/serverstorage/advancement/pcb.json new file mode 100644 index 0000000..f9ae10e --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/pcb.json @@ -0,0 +1,25 @@ +{ + "criteria": { + "has_substrate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "serverstorage:material_pcb_substrate" + } + ] + } + } + }, + "requirements": [ + [ + "has_substrate" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:pcb" + ] + } +} + diff --git a/src/main/resources/data/serverstorage/advancement/pcb_substrate.json b/src/main/resources/data/serverstorage/advancement/pcb_substrate.json new file mode 100644 index 0000000..e1a8b22 --- /dev/null +++ b/src/main/resources/data/serverstorage/advancement/pcb_substrate.json @@ -0,0 +1,25 @@ +{ + "criteria": { + "has_amethyst_shard": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:amethyst_shard" + } + ] + } + } + }, + "requirements": [ + [ + "has_amethyst_shard" + ] + ], + "rewards": { + "recipes": [ + "serverstorage:pcb_substrate" + ] + } +} +