Set a command in a trigger

Started by Djonetti on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set a command in a trigger

¿how can i do if i right clicked with a item do command "" ?

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the 'when right clicked …
Thu, 08/10/2023 - 13:30

Use the 'when right clicked (entity pos.)' event.

Then search for a 'run command (text) in the name of (event/target entity)' block.

Then, type your command in the text segment.