blob: b8a8c075386e4211c97b7aa2d1ac6780814aa00b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package org.bukkit.entity;
import org.bukkit.inventory.meta.FireworkMeta;
public interface Firework extends Entity {
/**
* Get a copy of the fireworks meta
*
* @return A copy of the current Firework meta
*/
FireworkMeta getFireworkMeta();
/**
* Apply the provided meta to the fireworks
*
* @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();
}
|