Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10] How do I get an EntityPlayer from a UUID?


Awesome_Spider
 Share

Recommended Posts

Hi. I have a player cache system that saves a player's UUID and displayname to a json file whenever a new player joins. That way I can get the players displayname for display purposes using the players UUID. However, I would like to know if it is possible to retrieve an EntityPlayer from a player's UUID. If so, how? I have looked through the EntityPlayer class and found nothing. Any help is highly appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.