> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/developer-api/utils.md).

# Utils

```java
/**
 * Creates a spherical explosion with specified parameters and returns the blocks broken.
 *
 * @param p The player initiating the explosion.
 * @param b The block where the explosion originates.
 * @param radius The radius of the explosion.
 * @param affectAutosell Whether to affect autosell.
 * @param sound Whether to play explosion sound.
 * @return The blocks broken.
 */
public double createSphereExplosion(Player p, Block b, int radius, boolean affectAutosell, boolean sound) {
    // Method implementation
}

/**
 * Creates a natural-style explosion with specified parameters and returns the blocks broken.
 *
 * @param p The player initiating the explosion.
 * @param b The block where the explosion originates.
 * @param radius The radius of the explosion.
 * @param affectAutosell Whether to affect autosell.
 * @param sound Whether to play explosion sound.
 * @return The blocks broken.
 */
public double createNaturalExplosion(Player p, Block b, int radius, boolean affectAutosell, boolean sound) {
    // Method implementation
}

/**
 * Converts a number to a single notation string representation.
 *
 * @param num The number to convert.
 * @return The single notation string representation.
 */
public String singleNotation(double num) {
    // Method implementation
}

/**
 * Converts a number to an abbreviated notation string representation.
 *
 * @param num The number to convert.
 * @return The abbreviated notation string representation.
 */
public String abbreviatedNotation(double num) {
    // Method implementation
}
```
