Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Player Database
  • Skin Browser
  • Cape Gallery
  • Community Hub
  • Seed Vault

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
LG's Command Items - Easy Custom Items
ModMIT

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!

743
Downloads
5
Followers
7 months ago
Updated
📦
9
Versions
equipmentgame-mechanicsutilitydatapackfabricforgeneoforgequilt
Download Latestv1.0.3+modView on Modrinth

📖About LG's Command Items - Easy Custom Items

🔀 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

👥 Team & Contributors

LordGacie
LordGacieOwner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
datapackfabricforgeneoforgequilt
Minecraft Versions
1.21.61.21.71.21.81.21.91.21.101.21.11

🔗 Links

Modrinth Page