Skip to content

Commit 69a49fc

Browse files
add textureId to skin and cape type
1 parent 1a575cf commit 69a49fc

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcutils-js-api",
3-
"version": "2.0.21",
3+
"version": "2.0.22",
44
"module": "dist/index.js",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/types/player/cape/cape.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { CapePart } from "./cape-part";
22

33
export type Cape = {
4+
textureId: string;
45
textureUrl: string;
56
parts: Record<CapePart, string>;
67
};

src/types/player/skin/skin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { SkinModel } from "./skin-model";
22
import { SkinPart } from "./skin-part";
33

44
export type Skin = {
5+
textureId: string;
56
model: SkinModel;
67
legacy: boolean;
78
textureUrl: string;

0 commit comments

Comments
 (0)