Readonly
idReadonly
sizeThe block location relative to the Structure's origin.
Returns a BlockPermutation. Returns undefined if a block does not exist at the given location.
Returns a BlockPermutation representing the block contained within the Structure at the given location.
Throws if the location is outside the structure's bounds. Throws if the Structure has been deleted.
The block location relative to the Structure's origin.
Returns whether the block at the given location is waterlogged. Returns false if a block does not exist at the given location.
Throws if the location is outside the structure's bounds. Throws if the Structure has been deleted.
Represents a loaded structure template (.mcstructure file). Structures can be placed in a world using the /structure command or the StructureManager APIs.