UNPKG

yoni-mcscripts-lib

Version:

为 Minecraft Script API 中的部分接口创建了 wrapper,并提供简单的事件管理器和任务管理器,另附有一些便于代码编写的一些小工具。

8 lines (7 loc) 291 B
import { Minecraft } from "../../basis.js"; import { PlayerEvent } from "./PlayerEvent.js"; import type { YoniPlayer } from "../../types"; export declare class PlayerJoinedEvent extends PlayerEvent { constructor(player: YoniPlayer | Minecraft.Player); kickPlayer(): Promise<void>; }