程序包 org.bukkit.generator.structure

# 接口 GeneratedStructure

所有超级接口:
  `PersistentDataHolder`

public interface GeneratedStructure extends PersistentDataHolder
Represents a structure placed in the world.

另请参阅:
  - `StructurePiece`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull BoundingBox`
  `getBoundingBox()`
  Gets the bounding box of this placed structure.
  `@NotNull Collection<StructurePiece>`
  `getPieces()`
  Gets all the `StructurePiece` that make up this PlacedStructure.
  `@NotNull Structure`
  `getStructure()`
  Gets the structure that this PlacedStructure represents.

  ### 从接口继承的方法 org.bukkit.persistence.PersistentDataHolder

  `getPersistentDataContainer`

- ## 方法详细资料

  - ### getBoundingBox

    @NotNull @NotNull BoundingBox getBoundingBox()
    Gets the bounding box of this placed structure.
    返回:
      bounding box of this placed structure

  - ### getStructure

    @NotNull @NotNull Structure getStructure()
    Gets the structure that this PlacedStructure represents.
    返回:
      the structure that this PlacedStructure represents

  - ### getPieces

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