public interface FireworkEffectMeta extends ItemMeta
Material.FIREWORK_CHARGE
.ItemMeta.Spigot
Modifier and Type | Method and Description |
---|---|
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.
|
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
serialize
void setEffect(FireworkEffect effect)
effect
- the effect to set, or null to indicate none.boolean hasEffect()
FireworkEffect getEffect()
FireworkEffectMeta clone()
Copyright © 2017. All rights reserved.