只读id只读is只读sizeThe block location relative to the Structure's origin.
Returns a BlockPermutation. Returns undefined if a block does not exist at the given location.
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.
世界修改The name of the newly created Structure.
可选saveMode: StructureSaveModeDetermines how the Structure should be saved. Defaults to saving to the world. Defaults to: 1
Returns the newly created structure.
世界修改世界修改The block location relative to the Structure's origin.
可选blockPermutation: BlockPermutationThe BlockPermutation to set. Defaults to: null
可选waterlogged: booleanSpecifies whether the block should be waterlogged. Air and undefined blocks cannot be waterlogged. Defaults to: false
Represents a loaded structure template (.mcstructure file). Structures can be placed in a world using the /structure command or the StructureManager APIs.