MojangAPI-in-Java v0.1.1 released!
Because of I incorrectly posted v0.1 to GitHub Packages, so I am going to post v0.1.1 directly. I'm sorry for this:(
In fact, v0.1.1 is v0.1, and v0.1 is the same as v0.0.5(Because when I tried to publish v0.0.5 on GitHub Packages, I've been started to develop v0.1).
Changes from v0.1(v0.0.5):
- Bug fixes
- Couldn't change skin
- May throw exception incorrectly
- Improved JavaDoc
- Code optimization
- Updated Gson version(2.8.5 to 2.8.6)
- Add server status check before running the method
- Improved exception throw
- changed all
IllegalStateException
toIllegalArgumentException
- Throws
ServiceException
when service unavailable
- changed all
- Improved performance
New Features:
- Add
SecurityQA
class inSkin
to implement https://wiki.vg/Mojang_API#Security_question-answer_flow. Currently only implemented https://wiki.vg/Mojang_API#Check_if_security_questions_are_needed. - Add
getCapeURL
method, to get the cape of a player
Known issues:
- May not be able to reset skin
UUIDName.storeSkinImageToDesktop
andUUIDName.storeCapeImageToDesktop
may not work on Linux/macOS