UNPKG

minecraft-bedrock-json-types

Version:

Typescript types for Minecraft Bedrock's add-on json configuration files.

60 lines (59 loc) 1.2 kB
/** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * UNDOCUMENTED. */ type AtlasIndex = number; /** * UNDOCUMENTED. */ type AtlasIndex1 = string; /** * UNDOCUMENTED. */ type AtlasIndex2 = number; /** * UNDOCUMENTED. */ type AtlasIndex3 = boolean; /** * A texture file. */ type FlipbookTexture1 = string; /** * The index of the frame. */ type FrameIndex = number; /** * The collection of frame index to display. */ type Frames = FrameIndex[]; /** * UNDOCUMENTED. */ type AtlasIndex4 = number; /** * The amount of ticks to wait between frames. */ type TicksPerFrame = number; /** * The file that specifies animated textures. */ export type FlipbookTextures = FlipbookTexture[]; /** * A single flipbook texture. */ interface FlipbookTexture { atlas_index?: AtlasIndex; atlas_tile?: AtlasIndex1; atlas_tile_variant?: AtlasIndex2; blend_frames?: AtlasIndex3; flipbook_texture?: FlipbookTexture1; frames?: Frames; replicate?: AtlasIndex4; ticks_per_frame?: TicksPerFrame; } export {};