程序包 org.bukkit.util

# 接口 StructureSearchResult

public interface StructureSearchResult
Holds the result of searching for a structure.

另请参阅:
  - `World.locateNearestStructure(Location, Structure, int, boolean)`
  - `World.locateNearestStructure(Location, StructureType, int, boolean)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Location`
  `getLocation()`
  Return the location of the structure.
  `@NotNull Structure`
  `getStructure()`
  Return the structure which was found.

- ## 方法详细资料

  - ### getStructure

    @NotNull @NotNull Structure getStructure()
    Return the structure which was found.
    返回:
      the found structure.

  - ### getLocation

    @NotNull @NotNull Location getLocation()
    Return the location of the structure.
    返回:
      the location the structure was found.