From fc9ceef85141292364e9505574a124082a860e97 Mon Sep 17 00:00:00 2001 From: Braydon Date: Mon, 15 Apr 2024 08:12:29 -0700 Subject: [PATCH] Add sdk/js/player/skinPart --- sdk%2Fjs%2Fplayer%2FskinPart.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sdk%2Fjs%2Fplayer%2FskinPart.md diff --git a/sdk%2Fjs%2Fplayer%2FskinPart.md b/sdk%2Fjs%2Fplayer%2FskinPart.md new file mode 100644 index 0000000..2e85267 --- /dev/null +++ b/sdk%2Fjs%2Fplayer%2FskinPart.md @@ -0,0 +1,10 @@ +# Skin Part Texture + +## Example +```ts +import { getSkinPart } from "restfulmc-lib"; +import { SkinPart } from "restfulmc-lib/dist/index"; + +const partTexture: ArrayBuffer = await getSkinPart(SkinPart.HEAD, "Rainnny"); // Fetch the skin part +/// Do something with the texture +``` \ No newline at end of file