跳转至

Entity

文档版本:1.21.0.24

Entity类。script_api.minecraft/server.entity.description

属性

id
read-only id: string;
typeId
read-only typeId: string;
typeIdstring
script_api.minecraft/server.entity.typeid.description

方法

runCommandAsync

script_api.minecraft/server.entity.runcommandasync.description

runCommandAsync(commandString: string): Promise<CommandResult>