mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Add firework api to get and set Firework ItemMeta
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
7053beb776
commit
673aa7144b
1 changed files with 15 additions and 1 deletions
|
@ -1,5 +1,19 @@
|
|||
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…
Add table
Reference in a new issue