author: Songoda # The enchant identifier must be unique. identifier: Oxygenate # The max level for this enchant. max-level: 1 # 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: "&aOxygenate {level}" # Description description: - "A chance to refill your oxygen" - "levels when breaking blocks." # What items this enchant can be applied to. item-whitelist: - "TOOLS" # For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials effects: POTION: # The trigger that will fire this effect trigger: BLOCK_BREAK # Potion Effect that should be applied. potion-type: WATER_BREATHING # Chance that this will happen chance: "10 * {level}" # Amount of oxygen to refill amount: "{level}" # What player should the effect be ran on: USER/OPPONENT. who: USER