UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

24 lines (23 loc) 966 B
import ProjectInfoItem from "./ProjectInfoItem"; import Project from "../app/Project"; import IProjectInfoGenerator from "./IProjectInfoGenerator"; import ProjectInfoSet from "./ProjectInfoSet"; import ContentIndex from "../core/ContentIndex"; export declare enum StrictPlatformInfoGeneratorTest { entityTypeUsesAMinecraftIdentifier = 100, entityTypeUsesAMinecraftRuntimeIdentifier = 101, itemTypeUsesAMinecraftIdentifier = 104 } /** * Validates strict platform requirements for identifiers and runtime identifiers. * * @see {@link ../../public/data/forms/mctoolsval/strict.form.json} for topic definitions */ export default class StrictPlatformInfoGenerator implements IProjectInfoGenerator { id: string; title: string; canAlwaysProcess: boolean; identifierOverridesAreErrors: boolean; summarize(info: any, infoSet: ProjectInfoSet): void; generate(project: Project, contentIndex: ContentIndex): Promise<ProjectInfoItem[]>; }