can I set a keybind to only work if a certain player uses it?

Started by Darth Feanor on

Topic category: Help with modding (Java Edition)

Last seen on 21:28, 29. Mar 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can I set a keybind to only work if a certain player uses it?

I wanted to know if you can set a procedure to only ocur when a certain player(s) use it. Can you tie it to their usernames? Or perhaps to their UUID? if so, how would I do such a thing.

Last seen on 21:28, 29. Mar 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried with a "if then do"…
Thu, 04/11/2019 - 21:24

I tried with a "if then do" block and attached to the "if" that the entity display name had to match (player name) but it didnt work.