Dimension
¶
文档版本:1.21.60.21
Dimension
类。script_api.minecraft/server.dimension.description
属性¶
id
id
:string
- script_api.minecraft/server.dimension.id.description
方法¶
getBlock
script_api.minecraft/server.dimension.getblock.description
location
:Vector3
- script_api.minecraft/server.dimension.getblock.location.description
- 返回值:
Block
|undefined
- script_api.minecraft/server.dimension.getblock.return
getEntities
script_api.minecraft/server.dimension.getentities.description
options
?:EntityQueryOptions
=null
- script_api.minecraft/server.dimension.getentities.options.description
- 返回值:
Entity[]
- script_api.minecraft/server.dimension.getentities.return
getEntitiesAtBlockLocation
script_api.minecraft/server.dimension.getentitiesatblocklocation.description
location
:Vector3
- script_api.minecraft/server.dimension.getentitiesatblocklocation.location.description
- 返回值:
Entity[]
- script_api.minecraft/server.dimension.getentitiesatblocklocation.return
getPlayers
script_api.minecraft/server.dimension.getplayers.description
options
?:EntityQueryOptions
=null
- script_api.minecraft/server.dimension.getplayers.options.description
- 返回值:
Player[]
- script_api.minecraft/server.dimension.getplayers.return
runCommand
script_api.minecraft/server.dimension.runcommand.description
commandString
:string
- script_api.minecraft/server.dimension.runcommand.commandstring.description
- 返回值:
CommandResult
- script_api.minecraft/server.dimension.runcommand.return
runCommandAsync
script_api.minecraft/server.dimension.runcommandasync.description
commandString
:string
- script_api.minecraft/server.dimension.runcommandasync.commandstring.description
- 返回值:
Promise<CommandResult>
- script_api.minecraft/server.dimension.runcommandasync.return