From dbfc429391fbad0bb464679fdc534729d43d5a00 Mon Sep 17 00:00:00 2001 From: Zelophed Date: Wed, 29 Jan 2020 02:47:09 +0100 Subject: [PATCH] slightly advanced -added a few advancements, most of them still need work, all need to be localized to en_us.lang, some are missing special triggers, etc. wip :) --- .../create/advancements/andesite_alloy.json | 30 ++++++++++++ .../create/advancements/andesite_casing.json | 31 ++++++++++++ .../data/create/advancements/brass.json | 31 ++++++++++++ .../create/advancements/brass_casing.json | 30 ++++++++++++ .../advancements/chromatic_compound.json | 32 +++++++++++++ .../create/advancements/crushing_wheel.json | 34 +++++++++++++ .../data/create/advancements/deployer.json | 30 ++++++++++++ .../create/advancements/deployer_secret.json | 24 ++++++++++ .../data/create/advancements/gear.json | 46 ++++++++++++++++++ .../create/advancements/mechanical_mixer.json | 30 ++++++++++++ .../create/advancements/mechanical_press.json | 48 +++++++++++++++++++ .../advancements/polished_rose_quartz.json | 32 +++++++++++++ .../create/advancements/refined_radiance.json | 31 ++++++++++++ .../advancements/refined_radiance_secret.json | 24 ++++++++++ .../data/create/advancements/sand_paper.json | 47 ++++++++++++++++++ .../create/advancements/shadow_steel.json | 31 ++++++++++++ 16 files changed, 531 insertions(+) create mode 100644 src/main/resources/data/create/advancements/andesite_alloy.json create mode 100644 src/main/resources/data/create/advancements/andesite_casing.json create mode 100644 src/main/resources/data/create/advancements/brass.json create mode 100644 src/main/resources/data/create/advancements/brass_casing.json create mode 100644 src/main/resources/data/create/advancements/chromatic_compound.json create mode 100644 src/main/resources/data/create/advancements/crushing_wheel.json create mode 100644 src/main/resources/data/create/advancements/deployer.json create mode 100644 src/main/resources/data/create/advancements/deployer_secret.json create mode 100644 src/main/resources/data/create/advancements/gear.json create mode 100644 src/main/resources/data/create/advancements/mechanical_mixer.json create mode 100644 src/main/resources/data/create/advancements/mechanical_press.json create mode 100644 src/main/resources/data/create/advancements/polished_rose_quartz.json create mode 100644 src/main/resources/data/create/advancements/refined_radiance.json create mode 100644 src/main/resources/data/create/advancements/refined_radiance_secret.json create mode 100644 src/main/resources/data/create/advancements/sand_paper.json create mode 100644 src/main/resources/data/create/advancements/shadow_steel.json diff --git a/src/main/resources/data/create/advancements/andesite_alloy.json b/src/main/resources/data/create/advancements/andesite_alloy.json new file mode 100644 index 000000000..667d9c220 --- /dev/null +++ b/src/main/resources/data/create/advancements/andesite_alloy.json @@ -0,0 +1,30 @@ +{ + "display": { + "title": { + "text": "Andesite Alloy" + }, + "description": { + "text": "A basic building block of create" + }, + "icon": { + "item": "create:andesite_alloy" + }, + "frame": "task", + "show_toast": false, + "announce_to_chat": false, + "hidden": true + }, + "criteria": { + "alloy": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:andesite_alloy" + } + ] + } + } + }, + "parent": "create:root" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/andesite_casing.json b/src/main/resources/data/create/advancements/andesite_casing.json new file mode 100644 index 000000000..15674e5b4 --- /dev/null +++ b/src/main/resources/data/create/advancements/andesite_casing.json @@ -0,0 +1,31 @@ +{ + "display": { + "title": { + "text": "Andesite Casing", + "color": "gray" + }, + "description": { + "text": "Use some Andesite, Metal and Wood to create a basic Casing" + }, + "icon": { + "item": "create:andesite_casing" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "casing": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:andesite_casing" + } + ] + } + } + }, + "parent": "create:andesite_alloy" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/brass.json b/src/main/resources/data/create/advancements/brass.json new file mode 100644 index 000000000..598df5922 --- /dev/null +++ b/src/main/resources/data/create/advancements/brass.json @@ -0,0 +1,31 @@ +{ + "display": { + "title": { + "text": "brass", + "color": "gold" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:crushed_brass" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "hidden": false + }, + "criteria": { + "brass": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:crushed_brass" + } + ] + } + } + }, + "parent": "create:mechanical_mixer" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/brass_casing.json b/src/main/resources/data/create/advancements/brass_casing.json new file mode 100644 index 000000000..b469b2337 --- /dev/null +++ b/src/main/resources/data/create/advancements/brass_casing.json @@ -0,0 +1,30 @@ +{ + "display": { + "title": { + "text": "brass_casing" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:brass_casing" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "casing": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:brass_casing" + } + ] + } + } + }, + "parent": "create:brass" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/chromatic_compound.json b/src/main/resources/data/create/advancements/chromatic_compound.json new file mode 100644 index 000000000..18cd53db5 --- /dev/null +++ b/src/main/resources/data/create/advancements/chromatic_compound.json @@ -0,0 +1,32 @@ +{ + "display": { + "title": { + "text": "Chromatic Compound", + "color": "dark_purple" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:chromatic_compound" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "alloy": { + "comment_": "TODO introduce trigger for mixer recipes", + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:chromatic_compound" + } + ] + } + } + }, + "parent": "create:mechanical_mixer" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/crushing_wheel.json b/src/main/resources/data/create/advancements/crushing_wheel.json new file mode 100644 index 000000000..ba4ab13d5 --- /dev/null +++ b/src/main/resources/data/create/advancements/crushing_wheel.json @@ -0,0 +1,34 @@ +{ + "display": { + "title": { + "text": "I've got a crush on you" + }, + "description": { + "text": "create a pair of crushing wheels" + }, + "icon": { + "item": "create:crushing_wheel" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "crushers": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:crushing_wheel", + "count": { + "min": 2, + "max": 2 + } + } + ] + } + } + }, + "parent": "create:andesite_alloy" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/deployer.json b/src/main/resources/data/create/advancements/deployer.json new file mode 100644 index 000000000..7327b8fdd --- /dev/null +++ b/src/main/resources/data/create/advancements/deployer.json @@ -0,0 +1,30 @@ +{ + "display": { + "title": { + "text": "deployer" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:deployer" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "hidden": false + }, + "criteria": { + "deployer": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:deployer" + } + ] + } + } + }, + "parent": "create:brass" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/deployer_secret.json b/src/main/resources/data/create/advancements/deployer_secret.json new file mode 100644 index 000000000..199bc649a --- /dev/null +++ b/src/main/resources/data/create/advancements/deployer_secret.json @@ -0,0 +1,24 @@ +{ + "display": { + "title": { + "text": "deployer_secret" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "minecraft:stone" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": true + }, + "criteria": { + "touching": { + "comment_": "custom trigger needed", + "trigger": "minecraft:impossible" + } + }, + "parent": "create:deployer" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/gear.json b/src/main/resources/data/create/advancements/gear.json new file mode 100644 index 000000000..548cca988 --- /dev/null +++ b/src/main/resources/data/create/advancements/gear.json @@ -0,0 +1,46 @@ +{ + "display": { + "title": { + "text": "Know what really grinds my Gears?" + }, + "description": { + "text": "sand paper." + }, + "icon": { + "item": "create:cogwheel" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": true + }, + "criteria": { + "gearSmall": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:cogwheel" + } + ] + } + }, + "gearBig": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:large_cogwheel" + } + ] + } + } + }, + "requirements": [ + [ + "gearSmall", + "gearBig" + ] + ], + "parent": "create:andesite_alloy" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/mechanical_mixer.json b/src/main/resources/data/create/advancements/mechanical_mixer.json new file mode 100644 index 000000000..0e3d6d6d3 --- /dev/null +++ b/src/main/resources/data/create/advancements/mechanical_mixer.json @@ -0,0 +1,30 @@ +{ + "display": { + "title": { + "text": "mixer" + }, + "description": { + "text": "mixer_desc" + }, + "icon": { + "item": "create:mechanical_mixer" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "mixer": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:mechanical_mixer" + } + ] + } + } + }, + "parent": "create:mechanical_press" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/mechanical_press.json b/src/main/resources/data/create/advancements/mechanical_press.json new file mode 100644 index 000000000..6a8d30c3c --- /dev/null +++ b/src/main/resources/data/create/advancements/mechanical_press.json @@ -0,0 +1,48 @@ +{ + "display": { + "title": { + "text": "Squeezing real hard" + }, + "description": { + "text": "Make a Mechanical Press and use it to create some plates" + }, + "icon": { + "item": "create:mechanical_press" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "press": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:mechanical_press" + } + ] + } + }, + "plate": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "tag": "forge:plates" + } + ] + } + } + }, + "requirements": [ + [ + "press" + ], + [ + "plate" + ] + ], + "parent": "create:andesite_casing" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/polished_rose_quartz.json b/src/main/resources/data/create/advancements/polished_rose_quartz.json new file mode 100644 index 000000000..65d4fbeca --- /dev/null +++ b/src/main/resources/data/create/advancements/polished_rose_quartz.json @@ -0,0 +1,32 @@ +{ + "display": { + "title": { + "text": "Polished Rose Quartz", + "color": "red" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:polished_rose_quartz" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "hidden": false + }, + "criteria": { + "quartz": { + "comment_": "TODO replace this with a custom trigger for sand paper use or maybe item durability change", + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:polished_rose_quartz" + } + ] + } + } + }, + "parent": "create:sand_paper" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/refined_radiance.json b/src/main/resources/data/create/advancements/refined_radiance.json new file mode 100644 index 000000000..2ee5bb0d6 --- /dev/null +++ b/src/main/resources/data/create/advancements/refined_radiance.json @@ -0,0 +1,31 @@ +{ + "display": { + "title": { + "text": "SHINY!!!", + "color": "white" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:refined_radiance" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "radiance": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:refined_radiance" + } + ] + } + } + }, + "parent": "create:chromatic_compound" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/refined_radiance_secret.json b/src/main/resources/data/create/advancements/refined_radiance_secret.json new file mode 100644 index 000000000..421b30f59 --- /dev/null +++ b/src/main/resources/data/create/advancements/refined_radiance_secret.json @@ -0,0 +1,24 @@ +{ + "display": { + "title": { + "text": "shiny secret" + }, + "description": { + "text": "find the alternative way to make refined radiance" + }, + "icon": { + "item": "create:refined_radiance" + }, + "frame": "challenge", + "show_toast": true, + "announce_to_chat": true, + "hidden": true + }, + "criteria": { + "ritual": { + "comment_": "custom trigger needed", + "trigger": "minecraft:impossible" + } + }, + "parent": "create:chromatic_compound" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/sand_paper.json b/src/main/resources/data/create/advancements/sand_paper.json new file mode 100644 index 000000000..5573a0f00 --- /dev/null +++ b/src/main/resources/data/create/advancements/sand_paper.json @@ -0,0 +1,47 @@ +{ + "display": { + "title": { + "text": "Sand Paper", + "color": "yellow" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:sand_paper" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": false, + "hidden": false + }, + "criteria": { + "paperNormal": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:sand_paper" + } + ] + } + }, + "paperRed": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:red_sand_paper" + } + ] + } + } + }, + "requirements": [ + [ + "paperNormal", + "paperRed" + ] + ], + "parent": "create:gear" +} \ No newline at end of file diff --git a/src/main/resources/data/create/advancements/shadow_steel.json b/src/main/resources/data/create/advancements/shadow_steel.json new file mode 100644 index 000000000..a58ca6e04 --- /dev/null +++ b/src/main/resources/data/create/advancements/shadow_steel.json @@ -0,0 +1,31 @@ +{ + "display": { + "title": { + "text": "Not quite as shiny", + "color": "black" + }, + "description": { + "text": "Description" + }, + "icon": { + "item": "create:shadow_steel" + }, + "frame": "goal", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "alloy": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "item": "create:shadow_steel" + } + ] + } + } + }, + "parent": "create:chromatic_compound" +} \ No newline at end of file