UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

22 lines (21 loc) 932 B
import IFolder from "../storage/IFolder"; import { MinecraftTrack } from "./ICreatorToolsData"; import IGalleryItem from "./IGalleryItem"; import { IMinecraftContentDefinition } from "../minecraft/IContentMetaSchema"; /** Action to perform automatically after project creation (e.g., open the Add Mob dialog). */ export type PostCreateAction = "addMob" | "addBlock" | "addItem"; export default interface IProjectSeed { name?: string; shortName?: string; creator?: string; description?: string; path?: string; track?: MinecraftTrack; galleryProject?: IGalleryItem; targetFolder?: IFolder; targetFolderTitle?: string; /** If set, the editor will automatically trigger this action after the project opens. */ postCreateAction?: PostCreateAction; /** If set, content will be generated from this definition after project creation. */ contentDefinition?: IMinecraftContentDefinition; }