# 接口的使用
org.bukkit.generator.structure.GeneratedStructure

使用GeneratedStructure的程序包
程序包
说明
org.bukkit
Bukkit API的顶级程序包, 包含通用的API类和接口.

- ## org.bukkit中GeneratedStructure的使用

  返回变量类型为GeneratedStructure的类型的org.bukkit中的方法
  修饰符和类型
  方法
  说明
  `@NotNull Collection<GeneratedStructure>`
  Chunk.`getStructures()`
  Gets all generated structures that intersect this chunk.
  `@NotNull Collection<GeneratedStructure>`
  Chunk.`getStructures(@NotNull Structure structure)`
  Gets all generated structures of a given `Structure` that intersect this chunk.
  `@NotNull Collection<GeneratedStructure>`
  World.`getStructures(int x, int z)`
  Gets all generated structures that intersect the chunk at the given coordinates.
  `@NotNull Collection<GeneratedStructure>`
  World.`getStructures(int x, int z, @NotNull Structure structure)`
  Gets all generated structures of a given `Structure` that intersect the chunk at the given coordinates.