Run Command on Item use

Run Command on Item use

With RCoIu (Run Command on Item use) you can run ANY command if a player use a specific Item. It works also with items from other packs.

ModScriptUpdated 1 years ago
HajsoriHajsori6 items

Screenshots

Run Command on Item use — screenshot 1
Run Command on Item use — screenshot 2
Run Command on Item use — screenshot 3
Run Command on Item use — screenshot 4

Description

With RCoIu (Run Command on Item use), you can execute ANY command when a player uses a specific item (right-click/hold down/...). Example: When a player uses a compass, they are teleported to the spawn point.

How it works: For example if you want to teleport someone who used a compass, you just need to do one of this Commands:

  • tp @a\[tag="itemUse:minecraft:compass"\] 0 0 0

  • tp @a\[tag="itemUse:minecraft:compass", tag="itemUseName:Spawn"\] 0 0 0

  • tp @a\[tag="itemUseOn:minecraft:compass"\] 0 0 0

  • tp @a\[tag="itemUseOn:minecraft:compass", tag="itemUseName:Spawn"\] 0 0 0

Changelog

  • Updated pack icon

Download Files

Run_Command_on_Item_use_v1.1.6643 KB.mcpack
Source: MCPEDL · by Hajsori · CurseForge