ActiveEnchantmentsLib
by Detrovv
ActiveEnchantmentsLib is a small library that lets enchantments take effect while an item sits in a player's inventory.
What it does
Enchantments listed under two data tags are applied on every tick, even when the item is only carried in the inventory. The library also provides a few utilities for item animation, hand interruption and block destruction, and it reads component values on an ItemStack when they change. Fabric API is required, and the mod runs on client and server, so both sides need it. Files target 1.21.1 only and are published for Fabric and NeoForge under the MIT License, as open source code.
Key features
Inventory enchantment ticks
Enchantments tagged for the library are applied each tick while the item is held in the player's inventory.
Item animation and interruption
Two data component types control item animation, hand interruption and block destruction.
Component change tracking
A block's tagged component values are read from an ItemStack whenever they change.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 2
Required by 1 mod
In the catalog
ActiveEnchantmentsLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from Detrovv
Similar mods
What the author says
The library mod adds a tag that can be applied to enchantments and then they will be applied every tick, even while in the player's inventory. There are also two tags for data component types which allow you not to play the item animation in your hand and not to interrupt the destruction of a block when the value of…
Official listing
- Modrinth page
- modrinth.com/mod/active_enchantments_lib
- Owner
- Detrovv
- Published
- 2025-02-02
- Updated on Modrinth
- 2025-02-07
- Facts verified
- 2026-10-15
