mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
14 lines (13 loc) • 718 B
TypeScript
import { Execute } from "./Execute";
import { BossbarOption, ValueType } from 'mdk-nbt';
import { Selector } from "../../../../../mdk-core/src";
export declare type StoreFn = (context: StoreLogic) => Execute;
export declare class StoreLogic {
#private;
constructor(context: Execute);
score(scoreName: string, selector?: string | Selector): Execute;
block(path: string, coordicate?: string, value?: ValueType, scale?: number): Execute;
entity(path: string, target?: string | Selector, value?: ValueType, scale?: number): Execute;
bossbar(id: string, option?: BossbarOption): Execute;
storage(target: string | Selector, path: string, type: ValueType, scale?: number): Execute;
}