Package org.bukkit.inventory.meta
Interface FireworkEffectMeta
- All Superinterfaces:
- Cloneable,- ConfigurationSerializable,- ItemMeta,- PersistentDataHolder
Represents a meta that can store a single FireworkEffect. An example
 includes 
Material.FIREWORK_STAR.- 
Method SummaryModifier and TypeMethodDescriptionclone()Gets the firework effect for this meta.booleanChecks if this meta has an effect.voidsetEffect(FireworkEffect effect) Sets the firework effect for this meta.Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializableserializeMethods inherited from interface org.bukkit.inventory.meta.ItemMetaaddAttributeModifier, addEnchant, addItemFlags, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setLocalizedName, setLore, setUnbreakable, setVersionMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainer
- 
Method Details- 
setEffectSets the firework effect for this meta.- Parameters:
- effect- the effect to set, or null to indicate none.
 
- 
hasEffectboolean hasEffect()Checks if this meta has an effect.- Returns:
- true if this meta has an effect, false otherwise
 
- 
getEffectGets the firework effect for this meta.- Returns:
- the current effect, or null if none
 
- 
clone
 
-