generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
## Additions | ||
- **[LilyLib]** Added an equipment model datagen provider. | ||
Minor update to add the groundwork for a shield-related features. | ||
|
||
|
||
## Changes | ||
- Updated to 1.21.3 Minecraft. | ||
- **[LilyLib]** Enchantment containers require a entity registry lookup. | ||
## 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. |