EpicEnchants/src/main/resources/enchants/unique/ObsidianDestroyer.yml

34 lines
871 B
YAML
Raw Normal View History

2019-08-08 02:57:50 +02:00
author: "Songoda"
2019-08-07 00:55:36 +02:00
2019-08-05 04:24:48 +02:00
# The enchant identifier must be unique.
identifier: ObsidianDestroyer
# The max level for this enchant.
max-level: 5
# The group of this enchant. Configure the groups in the groups.yml file.
group: SIMPLE
# How the enchant should be formatted on the enchanted item.
applied-format: "&eObsidianDestroyer {level}"
2019-08-06 02:06:08 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "A chance to instantly break obsidian."
# What items this enchant can be applied to.
item-whitelist:
- "PICKAXES"
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
2019-08-05 04:24:48 +02:00
effects:
MODIFY_BLOCK:
# The trigger that will fire this effect
2019-08-05 21:28:32 +02:00
trigger: LEFT_CLICK_BLOCK
2019-08-05 04:24:48 +02:00
# Chance that this will happen
chance: "10 * {level}"
# Check if clicked block is obsidian
2019-08-05 21:28:32 +02:00
condition: "{block_type} === 'OBSIDIAN'"
2019-08-05 04:24:48 +02:00
# Set the block to air
material: AIR