UNPKG

mdkjs

Version:

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

35 lines (34 loc) 915 B
import { int } from 'mdk-nbt'; declare const _default: { clear: typeof clear; rain: typeof rain; thunder: typeof thunder; }; export default _default; /** * 将天气设为晴天。 */ declare function clear(): string; /** * 将天气设为晴天。 * @param duration 持续时间 */ declare function clear(duration: int): string; /** * 将天气设为雨天(寒冷的生物群系会下雪)。 */ declare function rain(): string; /** * 将天气设为雨天(寒冷的生物群系会下雪)。 * @param duration 持续时间 */ declare function rain(duration: int): string; /** * 将天气设为雷暴雨(寒冷的生物群系会下雷暴雪)。 */ declare function thunder(): string; /** * 将天气设为雷暴雨(寒冷的生物群系会下雷暴雪)。 * @param duration 持续时间 */ declare function thunder(duration: int): string;