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:
Ursprung
ca95b136be
Commit
06f33fc487
@ -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();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren