AccountsClient icon indicating copy to clipboard operation
AccountsClient copied to clipboard

Java client for accessing Mojang's account/profile API

                   .     _///_,
                 .      / ` ' '>
                   )   o'  __/_'>
                  (   /  _/  )_\'>
                   ' "__/   /_/\_>
                       ____/_/_/_/
                      /,---, _/ /
                     ""  /_/_/_/
                        /_(_(_(_                 \
                       (   \_\_\\_               )\
                        \'__\_\_\_\__            ).\
                        //____|___\__)           )_/
                        |  _  \'___'_(           /'
                         \_ (-'\'___'_\      __,'_'
                         __) \  \\___(_   __/.__,'
               b'ger  ,((,-,__\  '", __\_/. __,'
                                   '"./_._._-'

This is the Java client lib used by Minecraft to interact with the newly deployed public API for handling accounts and profiles at Mojang.

It's currently very limited and only allows player name -> id resolution but we're aiming to add on this in the future. The only documentation is the code, and if you find something particularly weird it's probably a combination between not wanting to introduce unnecessary dependencies to Minecraft and not going overkill.

This code is provided as a courtesy and feel free to build a client in another language to share with the community.