Skip to content

Commit

Permalink
FIX javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguine6660 committed Dec 18, 2023
1 parent 6ec9f52 commit 7b0dd1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
* a specific aspect of gameplay, such as building, breaking blocks, interacting with entities,
* and more.
*
* @author <a href="https: //github.com/sanguine6660">@sanguine6660</a>
* @author <a href="https://github.com/sanguine6660">@sanguine6660</a>
* @since 17.12.2023
*/
public enum GuardFlag {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ default boolean doRegionsIntersect(GuardedRegion region1, GuardedRegion region2)
* @param location The location to check for containment.
* @param minPoint The minimum point of the cuboid.
* @param maxPoint The maximum point of the cuboid.
* @return A CompletableFuture<Boolean> representing {@code true} if the location is within the cuboid, {@code false} otherwise.
* @return A CompletableFuture&lt;Boolean&gt; representing {@code true} if the location is within the cuboid, {@code false} otherwise.
*/
default CompletableFuture<Boolean> isLocationInCuboidAsync(Location location, Location minPoint, Location maxPoint) {
return CompletableFuture.supplyAsync(() -> isLocationInCuboid(location, minPoint, maxPoint));
Expand All @@ -149,7 +149,7 @@ default CompletableFuture<Boolean> isLocationInCuboidAsync(Location location, Lo
* @param region1Max The maximum point of the first region.
* @param region2Min The minimum point of the second region.
* @param region2Max The maximum point of the second region.
* @return A CompletableFuture<Boolean> representing {@code true} if the regions intersect, {@code false} otherwise.
* @return A CompletableFuture&lt;Boolean&gt; representing {@code true} if the regions intersect, {@code false} otherwise.
*/
default public CompletableFuture<Boolean> doRegionsIntersectAsync(Location region1Min, Location region1Max,
Location region2Min, Location region2Max) {
Expand All @@ -161,7 +161,7 @@ default public CompletableFuture<Boolean> doRegionsIntersectAsync(Location regio
*
* @param location The location to check for containment.
* @param region The region to check against.
* @return A CompletableFuture<Boolean> representing {@code true} if the location is within the region, {@code false} otherwise.
* @return A CompletableFuture&lt;Boolean&gt; representing {@code true} if the location is within the region, {@code false} otherwise.
*/
default CompletableFuture<Boolean> isLocationInRegionAsync(Location location, GuardedRegion region) {
return isLocationInCuboidAsync(location, region.getMinPoint(), region.getMaxPoint());
Expand All @@ -172,7 +172,7 @@ default CompletableFuture<Boolean> isLocationInRegionAsync(Location location, Gu
*
* @param region1 The first region to check for intersection.
* @param region2 The second region to check for intersection.
* @return A CompletableFuture<Boolean> representing {@code true} if the regions intersect, {@code false} otherwise.
* @return A CompletableFuture&lt;Boolean&gt; representing {@code true} if the regions intersect, {@code false} otherwise.
*/
default CompletableFuture<Boolean> doRegionsIntersectAsync(GuardedRegion region1, GuardedRegion region2) {
return doRegionsIntersectAsync(region1.getMinPoint(), region1.getMaxPoint(), region2.getMinPoint(), region2.getMaxPoint());
Expand Down

0 comments on commit 7b0dd1a

Please sign in to comment.