HomeJavaModsItem Components
Item Components
ModsJava

Item Components

by boyonk · on Modrinth

Change the default components for items! Server-side and data-driven, refreshes on /reload! (and does it properly)

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.2–1.21.11⬇ Download for 1.21–1.21.1⬇ Download for 1.20.5–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Item Components

✅ Features

❓ What can I do with it?

For a full list of things you can change, visit the Minecraft Wiki on Data component format.
A non-exhaustive list of things you add, remove or change on any item:

In essence, any item, modded or vanilla, can be changed in any way you might want.\

⚙️ Datapack creation

Components on (an) item(s) can be changed by adding an entry under <namespace>:item_components/<path>.json.
Entries have 3 fields, all optional:

Visit the source code for example datapacks.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more