Enum in @minecraft/server
How a structure is turned as it’s placed, clockwise seen from above.
import { StructureRotation } from '@minecraft/server';Example
Section titled “Example”import { StructureRotation } from '@minecraft/server';
const value: StructureRotation = StructureRotation.None;console.log(value); // "None"import { StructureRotation } from '@minecraft/server';
const value = StructureRotation.None;console.log(value); // "None"Values
Section titled “Values”| Name | Value | Description |
|---|---|---|
None |
"None" |
|
Rotate90 |
"Rotate90" |
|
Rotate180 |
"Rotate180" |
|
Rotate270 |
"Rotate270" |