SkillAgentSearch skills...

AccountsClient

Java client for accessing Mojang's account/profile API

Install / Use

/learn @Mojang/AccountsClient
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

                   .     _///_,
                 .      / ` ' '>
                   )   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.

View on GitHub
GitHub Stars117
CategoryDevelopment
Updated5mo ago
Forks36

Languages

Java

Security Score

77/100

Audited on Oct 29, 2025

No findings