UNPKG

mdkjs

Version:

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

23 lines (22 loc) 646 B
import { Selector } from "../../../mdk-core/src"; declare const _default: { add: typeof add; remove: typeof remove; list: typeof list; }; export default _default; /** * 为该实体创建一个新的标签。 * @param tagName 标签名 */ declare function add(target: Selector | string, tagName: string): string; /** * 移除该实体所拥有的一个标签。 * @param tagName 标签名 */ declare function remove(target: Selector | string, tagName: string): string; /** * 列出该实体拥有的全部标签。 * @param tagName 标签名 */ declare function list(target: Selector | string): string;