Item Components
by boyonk
Item Components is a Fabric library that lets server owners change the default components of vanilla and modded items through data files, without writing code.
What it does
Changes are written as JSON data and loaded from datapacks, so a server can alter max stack size, armor durability, attack damage and speed, default block placement state and other component values for chosen items. Entries can target a single item ID, an item tag, or an array of item IDs, and each entry can optionally set its own fields. Entries can inherit values from a parent entry, and inheritance follows only the parent's own components and targets, not the parents of the parent.
Because the work happens on the server, only the server needs the mod: players join without installing it, and the server can reload changes through a reload command instead of restarting. Item Components supports modded items as well as vanilla ones, which makes it useful for modpack creators who want to rebalance a pack's items in one place. The mod requires Fabric API and is published for Fabric only, across 14 release versions 1.20.5 – 1.21.11, under All rights reserved.
Key features
Data-driven component changes
Component changes are defined in datapack files, so balance edits do not need a code change or a new build.
Reloadable changes
Edited data can be reloaded on a running server, so tuning does not require a restart.
Item, tag and array targets
Each entry can apply to one item ID, an item tag suffixed with a tag marker, or an array of item IDs.
Modded item support
Entries can change components of items added by other mods, not only vanilla items.
Compatibility
Latest build for each game version and loader.
1.21.x12 of 12 versions with builds
1.20.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 19 mods
Use cases
Who it’s for: Server owners and modpack creators who want to change item components without writing Java code. Players who only join a server do not need the mod.
How it compares
TT's Lib is a Fabric, Forge, NeoForge and Quilt library for 1.21.9 – 1.21.11, and it is server required with an optional client. Default Components is open source under the GNU General Public License v3.0 only, for Fabric and Quilt across 1.21 – 1.21.10, and is also server required with an optional client. Data Driven Stack Sizes is server-side only, runs on Fabric for 1.21 – 1.21.4, and is not open source; it covers stack sizes alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Item Components | Fabric | 1.20.5 – 1.21.11 | Server-side only | 2024-11-28 |
| Default Components | Fabric and Quilt | 1.21 – 1.21.10 | Server required, client optional | 2025-10-19 |
| Data Driven Stack Sizes | Fabric | 1.21 – 1.21.4 | Server-side only | 2025-03-15 |
Questions
Does Item Components need Fabric API?
Do players need Item Components installed?
Can the changes be reloaded without a restart?
In the catalog
Item Components is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from boyonk
Similar mods
What the author says
_In essence, any item, modded or vanilla, can be changed in any way you might want._\ : an ID or an array of IDs - The entries to inherit. Note that only the parent's parents and parent's components are inherited, not the parent's targets. -
Official listing
- Modrinth page
- modrinth.com/mod/item-components
- Owner
- boyonk
- Published
- 2024-08-20
- Updated on Modrinth
- 2024-11-28
- Facts verified
- 2026-10-15
