author: "Songoda" # 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}" # Description 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 effects: MODIFY_BLOCK: # The trigger that will fire this effect trigger: LEFT_CLICK_BLOCK # Chance that this will happen chance: "10 * {level}" # Check if clicked block is obsidian condition: "{block_type} === 'OBSIDIAN'" # Set the block to air material: AIR