Package org.bukkit.generator.structure
Interface GeneratedStructure
- All Superinterfaces:
PersistentDataHolder
,PersistentDataViewHolder
Represents a structure placed in the world.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the bounding box of this placed structure.Gets all theStructurePiece
that make up this PlacedStructure.Gets the structure that this PlacedStructure represents.Methods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPdc, getPersistentDataContainer
-
Method Details
-
getBoundingBox
Gets the bounding box of this placed structure.- Returns:
- bounding box of this placed structure
-
getStructure
Gets the structure that this PlacedStructure represents.- Returns:
- the structure that this PlacedStructure represents
-
getPieces
Gets all theStructurePiece
that make up this PlacedStructure.- Returns:
- a collection of all the StructurePieces
-