Structure
¶
文档版本:1.21.60.21
Structure
类。script_api.minecraft/server.structure.description
属性¶
id
id
:string
- script_api.minecraft/server.structure.id.description
size
size
:Vector3
- script_api.minecraft/server.structure.size.description
方法¶
getBlockPermutation
script_api.minecraft/server.structure.getblockpermutation.description
location
:Vector3
- script_api.minecraft/server.structure.getblockpermutation.location.description
- 返回值:
BlockPermutation
|undefined
- script_api.minecraft/server.structure.getblockpermutation.return
getIsWaterlogged
script_api.minecraft/server.structure.getiswaterlogged.description
location
:Vector3
- script_api.minecraft/server.structure.getiswaterlogged.location.description
- 返回值:
boolean
- script_api.minecraft/server.structure.getiswaterlogged.return
isValid
script_api.minecraft/server.structure.isvalid.description
- 返回值:
boolean
- script_api.minecraft/server.structure.isvalid.return
saveAs
script_api.minecraft/server.structure.saveas.description
identifier
:string
- script_api.minecraft/server.structure.saveas.identifier.description
saveMode
:StructureSaveMode
=1
- script_api.minecraft/server.structure.saveas.savemode.description
- 返回值:
Structure
- script_api.minecraft/server.structure.saveas.return
saveToWorld
script_api.minecraft/server.structure.savetoworld.description
- 返回值:
void
- script_api.minecraft/server.structure.savetoworld.return
setBlockPermutation
script_api.minecraft/server.structure.setblockpermutation.description
location
:Vector3
- script_api.minecraft/server.structure.setblockpermutation.location.description
blockPermutation
?:BlockPermutation
=null
- script_api.minecraft/server.structure.setblockpermutation.blockpermutation.description
- 返回值:
void
- script_api.minecraft/server.structure.setblockpermutation.return