Help with right clicking and guis

Started by coonercat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with right clicking and guis

Hello there, I am trying to make a surgery mod where the player can right click another player with a tool to open up a GUI.

I don't know how to detect what player right-clicked the entity, instead of the entity right-clicked, Does anyone know how to get the entity that right clicked the entity? (sorry, i'm not that great at writing lol)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not exactly sure how to…
Fri, 07/08/2022 - 04:29

Not exactly sure how to delete a post, but I have actually found out how :p

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually it's still a problem
Fri, 07/08/2022 - 04:44

Actually it's still a problem