UNPKG

mdkjs

Version:

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

22 lines (21 loc) 580 B
import { SoundType } from 'mdk-nbt'; import { Selector } from "../../../mdk-core/src"; export default stopsound; /** * 停止声音播放 * @param player 玩家 */ declare function stopsound(player: Selector): string; /** * 停止声音播放 * @param player 玩家 * @param source 来源 */ declare function stopsound(player: Selector, source: string): string; /** * 停止声音播放 * @param player 玩家 * @param source 来源 * @param soundPath */ declare function stopsound(player: Selector, source: SoundType, soundPath: string): string;