How do I get the current entity(player)'s username?

Started by jhein48 on Thu, 12/06/2018 - 09:20

Topic category: Help with MCreator's application

Last seen on 00:29, 9. Dec 2018
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How do I get the current entity(player)'s username?
Thu, 12/06/2018 - 09:20

Hi there,

I am making a Minecraft mod, and I have a certain item. I want it to be that when something happens, it will set a variable to the player holding the item's username. Tons of blocks can find out the player's username, but none can tell me it, or set it to a variable. Can you please help? I am using the latest version of MCreator, and the variable type is a string. Please help!

From,

jhein48

Last seen on 21:35, 14. Dec 2018
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
This is not possible yet…
Thu, 12/06/2018 - 15:41

This is not possible yet. You can open a feature request on our issue tracker to get this implemented in the future.

Last seen on 00:29, 9. Dec 2018
Joined Nov 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh. Ok, thanks! 
Fri, 12/07/2018 - 06:21

Oh. Ok, thanks!