13
0
geforkt von Mirrors/Paper

Add detonate method for firework entities. Adds BUKKIT-4538

This commit adds a method on fireworks that allows them to explode as
if their fuse ran out.

By: LordRalex <lordralex@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2013-07-12 03:24:08 -05:00
Ursprung ca95b136be
Commit 06f33fc487

Datei anzeigen

@ -17,4 +17,10 @@ public interface Firework extends Entity {
* @param meta The FireworkMeta to apply * @param meta The FireworkMeta to apply
*/ */
void setFireworkMeta(FireworkMeta meta); void setFireworkMeta(FireworkMeta meta);
/**
* Cause this firework to explode at earliest opportunity, as if it has no
* remaining fuse.
*/
void detonate();
} }