|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FireworkEffectMeta
Represents a meta that can store a single FireworkEffect. An example includes Material.FIREWORK_CHARGE
.
Method Summary | |
---|---|
FireworkEffectMeta |
clone()
|
FireworkEffect |
getEffect()
Gets the firework effect for this meta. |
boolean |
hasEffect()
Checks if this meta has an effect. |
void |
setEffect(FireworkEffect effect)
Sets the firework effect for this meta. |
Methods inherited from interface org.bukkit.inventory.meta.ItemMeta |
---|
addEnchant, getDisplayName, getEnchantLevel, getEnchants, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasLore, removeEnchant, setDisplayName, setLore |
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable |
---|
serialize |
Method Detail |
---|
void setEffect(FireworkEffect effect)
effect
- the effect to set, or null to indicate none.boolean hasEffect()
FireworkEffect getEffect()
FireworkEffectMeta clone()
clone
in interface ItemMeta
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |