diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 912f2cd0d5..149913f7a8 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -493,6 +493,15 @@ public interface World { */ public boolean createExplosion(double x, double y, double z, float power); + /** + * Creates explosion at given coordinates with given power + * + * @param loc + * @param power The power of explosion, where 4F is TNT + * @return false if explosion was canceled, otherwise true + */ + public boolean createExplosion(Location loc, float power); + /** * Gets the {@link Environment} type of this world *