Back to mods
LG's Command Items - Easy Custom Items project artwork

Modrinth · Minecraft mod

LG's Command Items - Easy Custom Items

This datapack adds a way to add commands directly as a component to items! Great way to add custom items with some additional features like cooldowns!

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

Quick answer

Which LG's Command Items - Easy Custom Items release matches 26.1.1?

Updated 7 months ago
Best match for your filters 1.0.3+mod
Game version 1.21.10, 1.21.11, 1.21.6
Loader Fabric, Forge, NeoForge

LG's Command Items - Easy Custom Items 1.0.3+mod targets 1.21.10, 1.21.11, 1.21.6 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is LG's Command Items - Easy Custom Items required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

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

The source marks this as usable on both the client and server.

What else does LG's Command Items - Easy Custom Items 1.0.3+mod need?

1.0.3+mod on 26.1.1. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add LG's Command Items - Easy Custom Items without breaking your instance.

Built for LG's Command Items - Easy Custom Items 1.0.3+mod on 26.1.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.3+mod. It targets 1.21.10, 1.21.11, 1.21.6 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

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

About this project

What does LG's Command Items - Easy Custom Items add?

🔀 LG's Command Items datapack

This datapack adds a way to add commands directly to items when triggering a specific event, events stacks meaning you can have a command for Right-Click as well as a command when attacking a mob or getting attacked!

Usage Tutorial

Use /function a:open_menu command, then click Add Commands button, select your input and slot, then confirm with the red "Confirm" button, it will add the command to your selected input + slot combination

Current Triggers & Slots

Triggers

  • Tick (20 times per second)
  • Use Item (on right-click, requires the item to be consumable, the Item Modifier makes it easy to turn an item into consumable, check commands)
  • Using Item (Triggers whenever you're using the item)
  • Player Hurt Entity (whenever player attacks an entity)
  • Player Killed Entity (whenever player kills an entity)
  • Entity Hurt Player (whenever the player gets damaged)
  • Inventory Changed (whenever players' inventory changes)

Slots

  • Mainhand
  • Offhand
  • Head
  • Chest
  • Legs
  • Feet

Limitations

You can only put one command into each trigger + slot combo, to use several commands, it is recommended to use functions

For any ticking trigger, I recommend not using cooldowns simply for optimization purposes, it won't fry your ticks if you don't do so, but with several players using those, it may very likely affect your performance negatively

Other Additions

  • Cooldowns - You can easily add cooldowns to your commands, they generate no scoreboards and are bound directly to items
  • Swap Hand Items - Simply swaps your mainhand and offhand items
  • Show Cooldown - When on cooldown, displays the cooldown on the chat, not recommended to use on ticking triggers so not to flood your chat
  • Consume On Trigger - Once triggered, consumes 1 of the used items

⚠️ Important commands!

/function a:open_menu

/function a:copy_item

/function ci:reset_cds

🔴 YouTube Showcase

Project description from Modrinth.

Pick your setup

LG's Command Items - Easy Custom Items by Minecraft version and loader

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

45 available setups

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

Recent files

LG's Command Items - Easy Custom Items versions and loaders

2 of 11 releases match
Clear filters

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