Update sdk/js/player/skinPart
parent
88cb6f7eae
commit
d91f9c25cf
@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
```ts
|
```ts
|
||||||
import { getSkinPart } from "restfulmc-lib";
|
import { SkinPart, getSkinPart } from "restfulmc-lib";
|
||||||
import { SkinPart } from "restfulmc-lib/dist/index";
|
|
||||||
|
|
||||||
const partTexture: ArrayBuffer = await getSkinPart(SkinPart.HEAD, "Rainnny"); // Fetch the skin part
|
const partTexture: ArrayBuffer = await getSkinPart(SkinPart.HEAD, "Rainnny"); // Fetch the skin part
|
||||||
/// Do something with the texture
|
/// Do something with the texture
|
||||||
|
Loading…
Reference in New Issue
Block a user