Interface GeneratedStructure

All Superinterfaces:
PersistentDataHolder

public interface GeneratedStructure extends PersistentDataHolder
Represents a structure placed in the world.
See Also:
  • Method Details

    • getBoundingBox

      @NotNull BoundingBox getBoundingBox()
      Gets the bounding box of this placed structure.
      Returns:
      bounding box of this placed structure
    • getStructure

      @NotNull Structure getStructure()
      Gets the structure that this PlacedStructure represents.
      Returns:
      the structure that this PlacedStructure represents
    • getPieces

      @NotNull Collection<StructurePiece> getPieces()
      Gets all the StructurePiece that make up this PlacedStructure.
      Returns:
      a collection of all the StructurePieces