Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Releases: Cosmetica-cc/CosmeticaDotJava

2.1.0

10 May 12:55
Compare
Choose a tag to compare
  • Update license headers in sources to reflect 2023 releases
  • getExtraInfo and isOfficial methods on cosmetics.
  • updateExtraInfo api method
  • A couple new useful methods on ServerResponse
  • Fix cosmetic comparisons. It should correctly now only base comparisons for all cosmetics on the id and type, regardless of the actual instance and internal subclass used.
  • Other more minor things

2.0.2

04 May 06:18
Compare
Choose a tag to compare

Don't URLEncode reason

2.0.1

04 May 05:31
Compare
Choose a tag to compare

Fix bug where reason was being set as the cosmetic's id every time

2.0.0

04 May 01:28
Compare
Choose a tag to compare

New major version which will break users of the previous builds significantly due to refactors.

  • Package and name refactors for a few classes to clean up the code.
  • Refactor cosmetic interfaces. The hierarchy has been significantly simplified.
  • Some new methods for cosmetics.
  • Remove some deprecated methods, undeprecate others.
  • null response for UploadState replaced with UploadState.UNKNOWN.
  • Two moderation endpoints added: setCosmeticStatus and getPendingCosmetics.
  • Fix reduced-info cosmetics - the previous code tried to parse them as if they had full data.
  • Fix noThirdParty flag being set to excludeModels flag in getUserInfo

1.11.2

18 Apr 08:17
Compare
Choose a tag to compare
  • Fix crash when using authentication via minecraft token
  • JUnit tests now run on every Push and PR to help with making sure we're less likely to push something bork

1.11.1

08 Apr 13:06
Compare
Choose a tag to compare

Fix potential NPE when setting force https before web api stuff is initialised.

1.11.0

07 Apr 13:07
Compare
Choose a tag to compare

Small fix to paranoid https. This should future proof if somehow it reads an http url as the requested url.

1.10.0

13 Jan 00:04
Compare
Choose a tag to compare

Add a new overload of setCosmetic that allows the user to specify to only allow official cosmetica capes to be set.

1.9.0

06 Dec 06:23
Compare
Choose a tag to compare

Add default force https

1.8.0

27 Nov 09:45
Compare
Choose a tag to compare

Add two new methods:

  • getFrameDelay, on Model, which gives the fps of the texture in ms (equivalent to 50*((getFlags() >> 4) & 0x1F))
  • megaInvasiveTutorial