46 lines
992 B
YAML
46 lines
992 B
YAML
author: Auora
|
|
|
|
# The enchant identifier must be unique.
|
|
identifier: Shocky
|
|
|
|
# The max level for this enchant.
|
|
max-level: 5
|
|
|
|
# The group of this enchant. Configure the groups in the groups.yml file.
|
|
group: ELITE
|
|
|
|
book-item:
|
|
material: BOOK
|
|
display-name: "&b&lShocky {level}"
|
|
|
|
# The lore on the enchantments books.
|
|
lore:
|
|
- "&7Drag on to enchant"
|
|
- "&a{success_rate}% Success Rate"
|
|
- "&c{destroy_rate}% Destroy Rate"
|
|
|
|
|
|
|
|
# How the enchant should be formatted on the enchanted item.
|
|
applied-format: "&bShocky {level}"
|
|
|
|
# Description
|
|
description:
|
|
- "A chance of forming an explosion while mining"
|
|
|
|
# What items this enchant can be applied to.
|
|
item-whitelist:
|
|
- "PICKAXE"
|
|
|
|
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
|
|
effects:
|
|
SPAWN_TNT:
|
|
# The trigger that will fire this effect.
|
|
trigger: BLOCK_BREAK
|
|
|
|
fuse: 0
|
|
|
|
amount: "{random(low=0, up={level})}"
|
|
# Chance of the effect firing.
|
|
chance: "5 * {level}"
|