跳转至

StructureManager

文档版本:1.21.60.21

StructureManager类。script_api.minecraft/server.structuremanager.description

方法

createEmpty

script_api.minecraft/server.structuremanager.createempty.description

createEmpty(identifier: string, size: Vector3, saveMode: StructureSaveMode): Structure
createFromWorld

script_api.minecraft/server.structuremanager.createfromworld.description

createFromWorld(identifier: string, dimension: Dimension, from: Vector3, to: Vector3, options?: StructureCreateOptions): Structure
delete

script_api.minecraft/server.structuremanager.delete.description

delete(structure: string | Structure): boolean
get

script_api.minecraft/server.structuremanager.get.description

get(identifier: string): Structure | undefined
getWorldStructureIds

script_api.minecraft/server.structuremanager.getworldstructureids.description

getWorldStructureIds(): string[]
place

script_api.minecraft/server.structuremanager.place.description

place(structure: string | Structure, dimension: Dimension, location: Vector3, options?: StructurePlaceOptions): void
placeJigsaw

script_api.minecraft/server.structuremanager.placejigsaw.description

placeJigsaw(pool: string, targetJigsaw: string, maxDepth: int32, dimension: Dimension, location: Vector3, options?: JigsawPlaceOptions): BoundingBox
placeJigsawStructure

script_api.minecraft/server.structuremanager.placejigsawstructure.description

placeJigsawStructure(identifier: string, dimension: Dimension, location: Vector3, options?: JigsawStructurePlaceOptions): BoundingBox