@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
40 lines (39 loc) • 980 B
TypeScript
export interface IEntityTypeResourceWrapper {
format_version: string;
"minecraft:client_entity": IEntityTypeResource;
}
export interface IEntityTypeResource {
description: IEntityTypeResourceDescription;
}
export interface IEntityTypeResourceDescription {
identifier: string;
materials: {
[]: string;
};
textures: {
[]: string | undefined;
};
geometry: {
[]: string;
};
particle_effects: {
[]: string;
};
animations: {
[]: string;
};
animation_controllers: {
[]: string;
};
scripts: {
[]: (string | {
[]: string;
})[];
};
render_controllers: string[];
spawn_egg?: IEntityResourceSpawnEgg;
}
export interface IEntityResourceSpawnEgg {
texture?: string;
texture_index?: number;
}