Releases: egorprnn/NameMCWrapper
Releases · egorprnn/NameMCWrapper
2.0.0
🌟Highlights
Now all methods return context classes instead of objects, this is still the same JSON, but the ability to call additional methods for individual contexts has been added.
The loadPayload
method allows you to load complete information about an object, if it was not found during the initial parse.
Example:
const skins = await new NameMC()
.skinHistory({ nickname: "Twennnn" });
const skin = skins[0];
// skin.tags => []
await skin.loadPayload();
// skin.tags => ["Hat", "Boy", ...]
All available class methods can be viewed in the files.
🚀 Features
- Parsing the list of the player's favorite servers.
- Parsing Badlion player statistics.
- Support for new parameters for renders:
cape
,shadow_color
,shadow_radius
,shadow_x
,shadow_y
.
⚠️ BREAKING CHANGES
- Removed the
getPlayerInfo
method, usegetPlayer
instead. - Removed the
endpoint
parameter when initializing the NameMC class. - When using the
transformSkin
method,SkinContext
is returned instead of astring
.
1.8.11
1.8.10
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
- Fix default skin model for
getRenders()
;.