From 6c64ab87c2352587236b07e257a0c0c310da5e9d Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Thu, 15 May 2025 18:14:43 +0200 Subject: [PATCH] update documentation --- docs/src/content/docs/configuration/reference.md | 14 ++++++++++++++ .../src/content/docs/documentation/enchant-list.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/docs/src/content/docs/configuration/reference.md b/docs/src/content/docs/configuration/reference.md index b7345f8..93b0c55 100644 --- a/docs/src/content/docs/configuration/reference.md +++ b/docs/src/content/docs/configuration/reference.md @@ -134,6 +134,20 @@ Amount of ticks player needs to be sneaking in place for the enchantment to acti Amount of arrows to shoot additionally per shot. This is additive, so if you want to shoot 3 arrows, set this to 2. +### Ward + +#### cooldownTicks + +- **Type**: `int` + +Cooldown in ticks that will be applied to the activating items cooldown group. + +#### blockSound + +- **Type**: `string` + +Namespaced key of the sound that will play when enchantment blocks a hit. + ### Panic #### panicChancePerLevel diff --git a/docs/src/content/docs/documentation/enchant-list.md b/docs/src/content/docs/documentation/enchant-list.md index bea349f..192b234 100644 --- a/docs/src/content/docs/documentation/enchant-list.md +++ b/docs/src/content/docs/documentation/enchant-list.md @@ -59,6 +59,20 @@ When totem of undying is activated, player is teleported to their spawn point. I **Description**: Gives invisibility effect when player is sneaking and not moving. +### Volley +**Translation key**: `enchantio.enchantment.volley` + +**Description**: +Shoots additional arrows when shooting a bow. Amount of arrows and their spread is configurable. + +### Ward +**Translation key**: `enchantio.enchantment.ward` + +**Description**: +Automatically blocks hits, but triggers a configurable cooldown every time it does. It triggers a cooldown for +the enchanted items cooldown group, so if you make this enchantment support more than just 1 item, you're going to have +to handle applying the cooldown group to them yourself. + ## Curses ### Curse of Panic