diff --git a/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml b/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml index acf529bb..1a43379f 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml @@ -5,7 +5,8 @@ type: special targets: - pickaxe -conflicts: [ ] +conflicts: + - veinminer rarity: special max-level: 3 diff --git a/eco-core/core-plugin/src/main/resources/enchants/lumberjack.yml b/eco-core/core-plugin/src/main/resources/enchants/lumberjack.yml new file mode 100644 index 00000000..f88af1fb --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/lumberjack.yml @@ -0,0 +1,38 @@ +display-name: "Lumberjack" +description: "Chop down up to &a%placeholder%&r blocks of a tree at once" +placeholder: "4 * %level%" +type: normal + +targets: + - axe +conflicts: [ ] +rarity: rare +max-level: 6 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: mine_vein + args: + limit: "4 * %level%" + blocks: + - oak_wood + - dark_oak_wood + - acacia_wood + - jungle_wood + - birch_wood + - crimson_stem + - spruce_wood + - warped_stem + - oak_log + - dark_oak_log + - acacia_log + - jungle_log + - birch_log + - spruce_log + triggers: + - mine_block + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/quake.yml b/eco-core/core-plugin/src/main/resources/enchants/rumble.yml similarity index 96% rename from eco-core/core-plugin/src/main/resources/enchants/quake.yml rename to eco-core/core-plugin/src/main/resources/enchants/rumble.yml index 1eb9859d..43a3b880 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/quake.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/rumble.yml @@ -1,4 +1,4 @@ -display-name: "Quake" +display-name: "Rumble" description: "Gives &a%damage%&r damage to all entities in a &a%radius%&r block radius" placeholders: radius: "2 + %level%" diff --git a/eco-core/core-plugin/src/main/resources/enchants/stimulating.yml b/eco-core/core-plugin/src/main/resources/enchants/stimulating.yml new file mode 100644 index 00000000..5350f29c --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/stimulating.yml @@ -0,0 +1,40 @@ +display-name: "Stimulating" +description: "Gives a &a%bonus%%&r to all stats for &a%seconds%%&r seconds" +placeholders: + bonus: "10 * %level%" + seconds: "3 * %level%" +type: spell + +targets: + - sword +conflicts: [ ] +rarity: legendary +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - effects: + - id: add_holder + args: + effects: + - id: multiply_all_stats + multiplier: "1 + 0.1 * %level%" + conditions: [ ] + duration: "3 * %level% * 20" + + - id: play_sound + args: + sound: entity_ender_dragon_growl + pitch: 1 + volume: 1 + + args: + cooldown: 180 + send_cooldown_message: true + triggers: + - alt_click + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/veinminer.yml b/eco-core/core-plugin/src/main/resources/enchants/veinminer.yml new file mode 100644 index 00000000..dd163ec5 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/veinminer.yml @@ -0,0 +1,44 @@ +display-name: "Veinminer" +description: "Mine up to &a%placeholder%&r blocks in veins at once" +placeholder: "2 + 3 * %level%" +type: normal + +targets: + - pickaxe +conflicts: + - blast_mining +rarity: rare +max-level: 4 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: mine_vein + args: + limit: "2 + 3 * %level%" + blocks: + - coal_ore + - iron_ore + - copper_ore + - gold_ore + - ancient_debris + - lapis_ore + - diamond_ore + - redstone_ore + - nether_quartz_ore + - gilded_blackstone + - nether_gold_ore + - glowstone + - deepslate_coal_ore + - deepslate_iron_ore + - deepslate_copper_ore + - deepslate_gold_ore + - deepslate_lapis_ore + - deepslate_diamond_ore + - deepslate_redstone_ore + triggers: + - mine_block + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/xray.yml b/eco-core/core-plugin/src/main/resources/enchants/xray.yml new file mode 100644 index 00000000..ccb31d35 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/xray.yml @@ -0,0 +1,55 @@ +display-name: "Xray" +description: "Makes ores within &a%radius%&r blocks shine through walls for &a%seconds%&r seconds" +placeholders: + seconds: "1 + %level%" + radius: "8 + 2 * %level%" +type: spell + +targets: + - pickaxe +conflicts: [ ] +rarity: special +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - effects: + - id: glow_nearby_blocks + args: + radius: "8 + 2 * %level%" + duration: "20 * (%level% + 1)" + colors: + coal_ore: black + deepslate_coal_ore: black + iron_ore: gray + deepslate_iron_ore: gray + gold_ore: yellow + deepslate_gold_ore: yellow + lapis_ore: blue + deepslate_lapis_ore: blue + redstone_ore: red + deepslate_redstone_ore: red + diamond_ore: aqua + deepslate_diamond_ore: aqua + emerald_ore: green + deepslate_emerald_ore: green + copper_ore: gold + deepslate_copper_ore: gold + ancient_debris: dark_red + + - id: play_sound + args: + sound: entity_ender_dragon_growl + pitch: 1 + volume: 1 + + args: + cooldown: 180 + send_cooldown_message: true + triggers: + - alt_click + +conditions: [ ]