public class GlowMetaFireworkEffect extends GlowMetaItem implements org.bukkit.inventory.meta.FireworkEffectMeta
| Constructor and Description |
|---|
GlowMetaFireworkEffect(org.bukkit.inventory.meta.ItemMeta meta)
Creates an instance by copying from the given
ItemMeta. |
| Modifier and Type | Method and Description |
|---|---|
GlowMetaFireworkEffect |
clone() |
org.bukkit.FireworkEffect |
getEffect() |
boolean |
hasEffect() |
boolean |
isApplicable(org.bukkit.Material material)
Check whether this ItemMeta can be applied to the given material.
|
Map<String,Object> |
serialize() |
void |
setEffect(org.bukkit.FireworkEffect effect) |
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, readNbtEnchants, removeEnchant, removeItemFlags, serializeEnchants, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot, toString, writeNbtEnchantsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigotpublic GlowMetaFireworkEffect(org.bukkit.inventory.meta.ItemMeta meta)
ItemMeta. If that item is another
FireworkEffectMeta, it is copied fully; otherwise, the FireworkEffect is
null.meta - the ItemMeta to copypublic boolean isApplicable(org.bukkit.Material material)
GlowMetaItemisApplicable in class GlowMetaItemmaterial - The Material.public GlowMetaFireworkEffect clone()
clone in interface org.bukkit.inventory.meta.FireworkEffectMetaclone in interface org.bukkit.inventory.meta.ItemMetaclone in class GlowMetaItempublic Map<String,Object> serialize()
serialize in interface org.bukkit.configuration.serialization.ConfigurationSerializableserialize in class GlowMetaItempublic boolean hasEffect()
hasEffect in interface org.bukkit.inventory.meta.FireworkEffectMetapublic org.bukkit.FireworkEffect getEffect()
getEffect in interface org.bukkit.inventory.meta.FireworkEffectMetapublic void setEffect(org.bukkit.FireworkEffect effect)
setEffect in interface org.bukkit.inventory.meta.FireworkEffectMetaCopyright © 2021. All rights reserved.