UNPKG

mdkjs

Version:

mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.

23 lines (22 loc) 870 B
import { Selector } from "../../../mdk-core/src"; declare const _default: { spawn: typeof spawn; replaceEntity: typeof replaceEntity; replaceBlock: typeof replaceBlock; give: typeof give; insert: typeof insert; }; export default _default; declare function spawn(location: string): Source; declare function replaceEntity(target: Selector, slot: string, count?: number): Source; declare function replaceBlock(location: string, slot: string, count?: number): Source; declare function give(target: Selector): Source; declare function insert(location: string): Source; declare class Source { #private; constructor(text: string); fish(loottable: string, location: string, tool?: string): string; loot(loottable: string): string; kill(target: Selector): string; mine(location: string, tool?: string): string; }