how to detect when a player clicks on entity

Started by cheesey123 on

Topic category: Help with modding (Java Edition)

Last seen on 20:39, 19. Feb 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to detect when a player clicks on entity

i am trying to make an airschip that when you right click on it you get teleported to a custum dimension. but i can't seem to find any selutions, does somebody know how to do this

 

Last seen on 20:39, 19. Feb 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i know now what is going on…
Sun, 04/16/2023 - 17:03

i know now what is going on my airschip needs permision to execute the command but i don't know how to give it perms does somebody know how to give an entity permission level 3

https://imgur.com/a/RLN1Wo5