diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 16a3f3e8be..e8259f8bf7 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -479,6 +479,14 @@ public interface World { */ public void setThunderDuration(int duration); + /** + * Creates explosion at given coordinates with given power + * + * @param power The power of explosion, where 4F is TNT + * @return false if explosion was canceled, otherwise true + */ + public boolean createExplosion(double x, double y, double z, float power); + /** * Gets the {@link Environment} type of this world *