Set a command in a trigger

Started by Djonetti on

Topic category: Help with modding (Java Edition)

Last seen on 09:26, 11. Aug 2023
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 "" ?

Last seen on 00:06, 23. Jul 2024
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.