Add firework api to get and set Firework ItemMeta
This commit is contained in:
parent
c633a472db
commit
33c03bb6d3
@ -1,5 +1,19 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
public interface Firework extends 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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user