add skinpart enum
All checks were successful
Publish Package / build (push) Successful in 20s

This commit is contained in:
Lee 2024-04-16 18:02:15 +01:00
parent dcf147167d
commit 4bca857c80
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "mcutils-library",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -45,9 +45,15 @@ type Skin = {
/**
* The parts of the skin.
*/
parts: Record<string, string>;
parts: Record<SkinPart, string>;
};
enum SkinPart {
HEAD = "head",
FACE = "face",
BODY = "body",
}
enum Model {
DEFAULT,
SLIM,