geforkt von Mirrors/Paper
Added method to create an explosion in world. Thanks Zaraza107!
By: EvilSeph <evilseph@unaligned.org>
Dieser Commit ist enthalten in:
Ursprung
10d7e607c8
Commit
0786934ce5
@ -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
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren