Interface GeneratedStructure
- All Superinterfaces:
PersistentDataHolder, PersistentDataViewHolder
Represents a structure placed in the world.
- Since:
- 1.20.4
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull BoundingBoxGets the bounding box of this placed structure.@NotNull Collection<StructurePiece> Gets all theStructurePiecethat make up this PlacedStructure.@NotNull StructureGets the structure that this PlacedStructure represents.Methods inherited from interface PersistentDataHolder
getPersistentDataContainer
-
Method Details
-
getBoundingBox
Gets the bounding box of this placed structure.- Returns:
- bounding box of this placed structure
- Since:
- 1.20.4
-
getStructure
Gets the structure that this PlacedStructure represents.- Returns:
- the structure that this PlacedStructure represents
- Since:
- 1.20.4
-
getPieces
Gets all theStructurePiecethat make up this PlacedStructure.- Returns:
- a collection of all the StructurePieces
- Since:
- 1.20.4
-