mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
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:
parent
ca95b136be
commit
06f33fc487
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue