Download Item Components — Minecraft Mods — MetaMods

Item Components

Active

Downloads

0

Last update

10 months ago

Versions

1.20.5 — 1.21.7
Server
Fabric
Decor
Weapons and armor
Libraries
Control
Utils

Item Components

✅ Features and Benefits

The modification works exclusively on the server side while maintaining full functionality on the client without any glitches. All settings are implemented through datapacks - applying them only requires executing the /reload command on the server or in a single-player world, with no need to restart the client or reconnect players.

The mod supports both vanilla items and items added by other mods, as well as their components. This opens up extensive possibilities for gameplay balancing and creating complex modpack configurations.

❓ What Can You Use It For?

With this mod, you can modify almost any item characteristic. For example:

  • Set maximum stack size
  • Configure armor parameters, damage, and attack speed
  • Change tool damage and durability
  • Add or remove enchantment glow
  • Make items fireproof
  • Customize consumption time and food effects
  • Modify tooltips, names, and descriptions
  • Set unbreakable status
  • And much more

Essentially, any characteristic of any item - whether standard or modded - can be customized to your needs.

⚙️ Creating Datapacks

Component settings are added through files in the <namespace>:item_components/<path>.json directory. Each such file contains three optional fields:

  • parents: accepts a single identifier or array of identifiers, defining inheritance from other entries (only parent components and their parents are inherited, not application targets)
  • targets: specifies which items to apply changes to - specific IDs, or item tags ending with '#'
  • components: directly defines the component modifications

Examples of working datapacks can be found in the project's source code.

Project members
boyonk

boyonk

Developer

boyonk913

boyonk913

Created: 10 Sep 2024

ID: 58957