From 2e946387e932f584c697b41878c8a77c769f7e2e Mon Sep 17 00:00:00 2001 From: Provismet <17149901+Provismet@users.noreply.github.com> Date: Sun, 26 Jan 2025 18:45:54 +0000 Subject: [PATCH] Add changelog. --- changelog.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 78bba76..a943c5d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,2 +1,18 @@ -## Changes -- Updated to 1.21.4 Minecraft. \ No newline at end of file +Minor update to add the groundwork for a shield-related features. + + +## Additions +- Added new class for easily executing callbacks from an item. +- Added new interface, BlockingItem. + - Items with the ability to block attacks should implement this interface. + - It contains methods that allow the item to configure the nature of its blocking. + - Cooldown duration when disabled. + - How many ticks the item must be used for until it is actively blocking attacks. + - Callbacks + - Damaging the shield. + - Post-block actions. +- Added enchantment callback for post-block actions. +- Added enchantment context (for conditions) for post-block actions. + - In this context, the target is the owner of the enchanted item, the one who blocked the attack. +- Added debug shield item and debug blocking enchantment for developers. +- **[LilyLib]** Enchantment descriptions now also generate a `.description` key as well as the existing `.desc` key. \ No newline at end of file