Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / entity / Firework.java
@vlad20012 vlad20012 on 24 Feb 2017 522 bytes initial
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();
}