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