From d87e1f913b25282d191fe64bb0ffb206f0aaab85 Mon Sep 17 00:00:00 2001 From: Pandro Date: Wed, 1 Oct 2025 18:57:10 +0200 Subject: [PATCH] Init & Avian Origin Added custom avian origin with power "frail flight" Added custom power "frail flight" which allows elytra flight but only when health >= 20. No icons used yet. For some reason they cause errors. --- datapack/data/feathermc/origins/avian.json | 9 +++++++++ datapack/data/feathermc/powers/frail_flight.json | 12 ++++++++++++ datapack/data/origins/origin_layers/origin.json | 6 ++++++ datapack/pack.mcmeta | 6 ++++++ 4 files changed, 33 insertions(+) create mode 100644 datapack/data/feathermc/origins/avian.json create mode 100644 datapack/data/feathermc/powers/frail_flight.json create mode 100644 datapack/data/origins/origin_layers/origin.json create mode 100644 datapack/pack.mcmeta diff --git a/datapack/data/feathermc/origins/avian.json b/datapack/data/feathermc/origins/avian.json new file mode 100644 index 0000000..89d90bb --- /dev/null +++ b/datapack/data/feathermc/origins/avian.json @@ -0,0 +1,9 @@ +{ + "name": "Avian", + "description": "A feathered creature that prefers to live up high, is lightweight and can glide.", + "powers": [ + "feathermc:frail_flight" + ], + "order": 0, + "impact": 2 +} diff --git a/datapack/data/feathermc/powers/frail_flight.json b/datapack/data/feathermc/powers/frail_flight.json new file mode 100644 index 0000000..f887b74 --- /dev/null +++ b/datapack/data/feathermc/powers/frail_flight.json @@ -0,0 +1,12 @@ +{ + "type": "origins:elytra_flight", + "name": "Frail Flight", + "icon": "minecraft:elytra", + "description": "Able to use your wings to glide but only when you're not hurt.", + "render_elytra": true, + "condition": { + "type": "origins:health", + "comparison": ">=", + "compare_to": 20 + } +} diff --git a/datapack/data/origins/origin_layers/origin.json b/datapack/data/origins/origin_layers/origin.json new file mode 100644 index 0000000..5245f1c --- /dev/null +++ b/datapack/data/origins/origin_layers/origin.json @@ -0,0 +1,6 @@ +{ + "replace": false, + "origins": [ + "feathermc:avian" + ] +} diff --git a/datapack/pack.mcmeta b/datapack/pack.mcmeta new file mode 100644 index 0000000..b68ed28 --- /dev/null +++ b/datapack/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 15, + "description": "Adds a new Avian, Bat, Feline, Dog, Dragon, Protogen origin. Meant for a specific server." + } +}