Added demo custom enchantment

This commit is contained in:
Auxilor 2022-01-08 13:38:19 +00:00
parent 7d729e2e0c
commit f148121981

View File

@ -1,7 +1,7 @@
enchants: enchants:
- id: demo - id: demo
name: "Demo Custom Enchantment" name: "Demo Custom Enchantment"
description: Damages your opponents armor by &a%value%&r. description: Test
obtaining: obtaining:
table: true table: true
@ -12,8 +12,7 @@ enchants:
general-config: general-config:
flags: [ ] flags: [ ]
targets: targets:
- sword - pickaxe
- axe
grindstoneable: true grindstoneable: true
disabled-in-worlds: [ ] disabled-in-worlds: [ ]
requirements: requirements:
@ -22,7 +21,12 @@ enchants:
conflicts: [ ] conflicts: [ ]
levels: levels:
- effects: [ ] - effects:
- id: give_money
args:
amount: 50
triggers:
- mine_block
conditions: [ ] conditions: [ ]
- effects: [ ] - effects: [ ]
conditions: [ ] conditions: [ ]