From c4baa7ab979a511db34ae000e0c6c523c18690d4 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 26 Sep 2022 16:39:54 +0100 Subject: [PATCH] Added ender slayer and excavation --- .../main/resources/enchants/ender_slayer.yml | 28 +++++++++++++++++++ .../main/resources/enchants/excavation.yml | 25 +++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/ender_slayer.yml create mode 100644 eco-core/core-plugin/src/main/resources/enchants/excavation.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/ender_slayer.yml b/eco-core/core-plugin/src/main/resources/enchants/ender_slayer.yml new file mode 100644 index 00000000..726ecc52 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/ender_slayer.yml @@ -0,0 +1,28 @@ +display-name: "Ender Slayer" +description: "Gives a &a%placeholder%&r bonus to melee damage against end mobs" +placeholder: "1 + 0.5 * %level%" +type: normal + +targets: + - sword +conflicts: [ ] +rarity: uncommon +max-level: 6 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: add_damage + args: + damage: "1 + 0.5 * %level%" + triggers: + - melee_attack + filters: + entities: + - enderman + - endermite + - ender_dragon + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/excavation.yml b/eco-core/core-plugin/src/main/resources/enchants/excavation.yml new file mode 100644 index 00000000..20c011a8 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/excavation.yml @@ -0,0 +1,25 @@ +display-name: "Excavation" +description: "Digs &a%placeholder%&r extra blocks" +placeholder: "%level%" +type: normal + +targets: + - shovel +conflicts: [ ] +rarity: legendary +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: drill + args: + amount: "%level%" + check-hardness: true + disable-on-sneak: true + triggers: + - mine_block + +conditions: [ ]