Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ()) @return A copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ()) @throws NullPointerException if #getWorld() is null
()
| 746 | * @throws NullPointerException if {@link #getWorld()} is {@code null} |
| 747 | */ |
| 748 | @NotNull |
| 749 | public Location toHighestLocation() { |
| 750 | return this.toHighestLocation(HeightMap.WORLD_SURFACE); |
| 751 | } |
| 752 | |
| 753 | /** |
| 754 | * Returns a copy of this location except with y = getWorld().getHighestBlockYAt(this.getBlockX(), this.getBlockZ(), heightMap) |
nothing calls this directly
no test coverage detected