@mcbelibs/hslib
Version:
personal library for bdsx
11 lines (10 loc) • 904 B
TypeScript
import { Actor, ActorDefinitionIdentifier } from "bdsx/bds/actor";
import { BlockSource } from "bdsx/bds/block";
import { Vec3 } from "bdsx/bds/blockpos";
export declare namespace MCEntity {
function getTags<T extends Actor>(entity: T): string[];
function getUniqueIdTag<T extends Actor>(entity: T): string;
function spawnMob(region: BlockSource, entityIdentifier: EntityId, summoner: Actor | null, pos: Vec3, naturalSpawn?: boolean, surface?: boolean, fromSpawner?: boolean): Actor | null;
function spawnMob(region: BlockSource, entityIdentifier: string, summoner: Actor | null, pos: Vec3, naturalSpawn?: boolean, surface?: boolean, fromSpawner?: boolean): Actor | null;
function spawnMob(region: BlockSource, entityIdentifier: ActorDefinitionIdentifier, summoner: Actor | null, pos: Vec3, naturalSpawn?: boolean, surface?: boolean, fromSpawner?: boolean): Actor | null;
}