Back to mods
Item Components project artwork

Modrinth · Minecraft mod

Item Components

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Item Components release should I use?

Updated 1 year ago
Latest stable file 1.2+1.21.2
Game version 1.21.2, 1.21.3, 1.21.4
Loader Fabric

Item Components 1.2+1.21.2 targets 1.21.2, 1.21.3, 1.21.4 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Item Components required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Item Components 1.2+1.21.2 need?

1.2+1.21.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Item Components 1.2+1.21.2
required
Matching file found Matched file: 0.141.6+1.21.11

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Item Components without breaking your instance.

Built for Item Components 1.2+1.21.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2+1.21.2. It targets 1.21.2, 1.21.3, 1.21.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2+1.21.2. It opens that exact file at the source.

About this project

What does Item Components add?

Item Components

✅ Features

  • Server-side at no cost of quirkyness on the client
  • Data-driven through datapacks, read below for the how.
  • Reloadable on the fly via /reload. No restarting a server or client, or rejoining a world.
  • Supports modded items and modded item components
  • Modpack creation made easy, by putting the power of balancing in your hands

❓ 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:

  • Max stack size
  • Armor, damage & attack speed values
  • Default placement state
  • Enchantment glint
  • Fireproof
  • Nutrition, saturation, eating time & effects
  • Tooltips
  • Name & lore
  • Jukebox song
  • Max damage
  • Rarity
  • Default mining speed, durability change & effective blocks
  • Unbreakable

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:

  • parents: 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.
  • targets: an item ID, an item tag suffixed with '#' or an array of item IDs
    • The items to apply the component changes to.
  • components: a component changes object
    • The component changes to apply to the items.

Visit the source code for example datapacks.

Project description from Modrinth.

Pick your setup

Item Components by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

14 available setups

Showing the newest 12 of 14 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Item Components versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.