This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Releases: Cosmetica-cc/CosmeticaDotJava
Releases · Cosmetica-cc/CosmeticaDotJava
2.1.0
- Update license headers in sources to reflect 2023 releases
getExtraInfo
andisOfficial
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
Don't URLEncode reason
2.0.1
Fix bug where reason was being set as the cosmetic's id every time
2.0.0
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 forUploadState
replaced withUploadState.UNKNOWN
.- Two moderation endpoints added:
setCosmeticStatus
andgetPendingCosmetics
. - Fix reduced-info cosmetics - the previous code tried to parse them as if they had full data.
- Fix
noThirdParty
flag being set toexcludeModels
flag ingetUserInfo
1.11.2
- 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
Fix potential NPE when setting force https before web api stuff is initialised.
1.11.0
Small fix to paranoid https. This should future proof if somehow it reads an http url as the requested url.
1.10.0
Add a new overload of setCosmetic
that allows the user to specify to only allow official cosmetica capes to be set.
1.9.0
Add default force https
1.8.0
Add two new methods:
- getFrameDelay, on Model, which gives the fps of the texture in ms (equivalent to
50*((getFlags() >> 4) & 0x1F)
) - megaInvasiveTutorial