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>
This commit is contained in:
Bukkit/Spigot 2013-07-12 03:24:08 -05:00
parent ca95b136be
commit 06f33fc487

View file

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