Interface: StructurePlaceOptions
Provides additional options for StructureManager.place
Properties
animationMode?
optional
animationMode:StructureAnimationMode
Remarks
How the Structure should be animated when placed.
animationSeconds?
optional
animationSeconds:number
Remarks
How many seconds the animation should take.
includeBlocks?
optional
includeBlocks:boolean
Remarks
Whether blocks should be included in the structure. Defaults to true.
includeEntities?
optional
includeEntities:boolean
Remarks
Whether entities should be included in the structure. Defaults to true.
integrity?
optional
integrity:number
Remarks
What percentage of blocks should be placed. A value of 1 will place 100% of the blocks while a value of 0 will place none. The blocks are chosen randomly based on the StructurePlaceOptions.integritySeed.
integritySeed?
optional
integritySeed:string
Remarks
Seed that determines which blocks are randomly chosen to be placed. Defaults to a random seed.
mirror?
optional
mirror:StructureMirrorAxis
Remarks
Which axes the Structure should be mirrored on when placed. Defaults to StructureMirrorAxis.None.
rotation?
optional
rotation:StructureRotation