Interface GeneratedStructure

All Superinterfaces:
PersistentDataHolder, PersistentDataViewHolder

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

    • getBoundingBox

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

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

      Gets all the StructurePiece that make up this PlacedStructure.
      Returns:
      a collection of all the StructurePieces
      Since:
      1.20.4