Skip to content

MojangAPI-in-Java v0.1.1 released!

Compare
Choose a tag to compare
@XiaoPangxie732 XiaoPangxie732 released this 22 Nov 18:09
· 9 commits to master since this release
19689a6

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 to IllegalArgumentException
    • Throws ServiceException when service unavailable
  • Improved performance

New Features:

  1. Add SecurityQA class in Skin 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.
  2. Add getCapeURL method, to get the cape of a player

Known issues:

  1. May not be able to reset skin
  2. UUIDName.storeSkinImageToDesktop and UUIDName.storeCapeImageToDesktop may not work on Linux/macOS