mdkjs
Version:
mdk is a framework for developing Datapacks for Minecraft. It uses the typescript language.
9 lines (8 loc) • 319 B
TypeScript
import { NbtAbstract } from "./NbtAbstract";
import { Entity } from 'mdk-nbt';
export declare class NbtEntity<T extends Entity> extends NbtAbstract<T> {
constructor(nbt: T);
summon(location?: string): void;
toString(): string;
}
export declare function createEntity(nbt: Entity): NbtEntity<Entity>;