UNPKG

@levimc-lse/interface-api

Version:

API for the logic tree development framework that supports cross-plugin UI queues at runtime in Minecraft Legacy Script Engine.

19 lines 822 B
import { FormNode } from "./FormNode"; import { LevelType } from "../LevelType"; export declare class SimpleFormNode implements FormNode { private father; private readonly preload?; private readonly title?; private content?; private readonly controls; constructor(title?: string, content?: string, preload?: (self: SimpleFormNode) => Promise<void>); setFather(father: FormNode): void; setContent(content: string): void; addButton(text: string, image?: string, callback?: (father: FormNode, playerIdentifier: string) => Promise<void>): SimpleFormNode; addLabel(text: string): SimpleFormNode; addDivider(): SimpleFormNode; render(playerIdentifier: string): Promise<void>; getType(): LevelType; getOccupiedTicks(): number; } //# sourceMappingURL=SimpleFormNode.d.ts.map