misc javadoc improvements

This commit is contained in:
Miles Holder 2024-10-04 18:19:54 -05:00
parent c32a8e6a5e
commit c2413cc6a1
No known key found for this signature in database
GPG key ID: B9CBACC92C5C094C
3 changed files with 4 additions and 4 deletions

View file

@ -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."); 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 * @see PoiType
*/ */

View file

@ -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); 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 origin where to start looking for a new point of interest at
* @param poiType the poi type to find * @param poiType the poi type to find
* @param radius the radius * @param radius the radius
* @param occupancy the current required occupancy of the point of interest * @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 * {@link PoiType} and {@link PoiType.Occupancy}, or null if no poi
* was found. * was found.
*/ */

View file

@ -6,7 +6,7 @@ import org.bukkit.entity.PoiType;
import org.jetbrains.annotations.NotNull; 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) * @see World#locateNearestPoi(Location, PoiType, int, PoiType.Occupancy)
*/ */