Skip to content

PotatoMaster101/McSkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

McSkin

License: MIT .NET Nuget

Small library for playing with Minecraft skins.

Building

Build with dotnet:

$ dotnet build -c Release

Testing

Run all unit tests with dotnet:

$ dotnet test -c Release

Usage

// retrieve a player skin
using var skin = await SkinGrabber.FromUsername("PotatoMaster101");

// retrieve a section on the skin
var section = SkinSectionCollection.Get(SkinSectionId.Head);
using var head = skin.GetSection(section);

// copy a section to another skin
using var skin2 = await SkinGrabber.FromUsername("MHF_Pig");
skin.CopySectionTo(section, skin2);

// save a skin
await skin2.Save("output.png");

About

Small .Net library for playing with Minecraft skins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages