public interface FireworkEffectMeta extends ItemMeta
Material.FIREWORK_STAR
.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.
|
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setLocalizedName, setLore, setPlaceableKeys, setUnbreakable, setVersion, spigot
serialize
getPersistentDataContainer
void setEffect(@Nullable FireworkEffect effect)
effect
- the effect to set, or null to indicate none.boolean hasEffect()
@Nullable FireworkEffect getEffect()
@NotNull FireworkEffectMeta clone()
Copyright © 2022. All rights reserved.