Entity¶
文档版本:1.21.60.21
Entity类。script_api.minecraft/server.entity.description
属性¶
id
id:string- script_api.minecraft/server.entity.id.description
typeId
typeId:string- script_api.minecraft/server.entity.typeid.description
方法¶
runCommandAsync
script_api.minecraft/server.entity.runcommandasync.description
commandString:string- script_api.minecraft/server.entity.runcommandasync.commandstring.description
- 返回值:
Promise<CommandResult> - script_api.minecraft/server.entity.runcommandasync.return