mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
misc javadoc improvements
This commit is contained in:
parent
c32a8e6a5e
commit
c2413cc6a1
3 changed files with 4 additions and 4 deletions
|
@ -350,7 +350,7 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
|
|||
*/
|
||||
Registry<GameEvent> GAME_EVENT = Objects.requireNonNull(Bukkit.getRegistry(GameEvent.class), "No registry present for GameEvent. This is a bug.");
|
||||
/**
|
||||
* Point of interests.
|
||||
* Points of interest.
|
||||
*
|
||||
* @see PoiType
|
||||
*/
|
||||
|
|
|
@ -2884,13 +2884,13 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
|||
BiomeSearchResult locateNearestBiome(@NotNull Location origin, int radius, int horizontalInterval, int verticalInterval, @NotNull Biome... biomes);
|
||||
|
||||
/**
|
||||
* Finds the nearest point of interest closes to the given location.
|
||||
* Finds the nearest point of interest closest to the given location.
|
||||
*
|
||||
* @param origin where to start looking for a new point of interest at
|
||||
* @param poiType the poi type to find
|
||||
* @param radius the radius
|
||||
* @param occupancy the current required occupancy of the point of interest
|
||||
* @return a PoiSearchResult containing the closes {@link Location},
|
||||
* @return a PoiSearchResult containing the closest {@link Location},
|
||||
* {@link PoiType} and {@link PoiType.Occupancy}, or null if no poi
|
||||
* was found.
|
||||
*/
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.bukkit.entity.PoiType;
|
|||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Holds the result of searching for a biome.
|
||||
* Holds the result of searching for a point of interest.
|
||||
*
|
||||
* @see World#locateNearestPoi(Location, PoiType, int, PoiType.Occupancy)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue