Add sdk/js/player/skinPart
parent
68b0bf3e60
commit
fc9ceef851
10
sdk%2Fjs%2Fplayer%2FskinPart.md
Normal file
10
sdk%2Fjs%2Fplayer%2FskinPart.md
Normal file
@ -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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user