minecraft-bedrock-json-types
Version:
Typescript types for Minecraft Bedrock's add-on json configuration files.
33 lines (32 loc) • 693 B
TypeScript
/**
* 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.
*/
/**
* The name of the minecraft music event.
*/
type EventName = string;
/**
* UNDOCUMENTED: Minimum delay.
*/
type MinimumDelay = number;
/**
* UNDOCUMENTED: Maximum delay.
*/
type MaximumDelay = number;
/**
* The definition file of music of the resourcepack.
*/
export interface MusicDefinitions {
[k: string]: Music;
}
/**
* A music definition.
*/
interface Music {
event_name: EventName;
min_delay?: MinimumDelay;
max_delay?: MaximumDelay;
}
export {};