public interface FireworkEffectMeta extends ItemMeta
Material.FIREWORK_STAR
.Modifier and Type | Method and Description |
---|---|
@NotNull FireworkEffectMeta |
clone() |
@Nullable FireworkEffect |
getEffect()
Gets the firework effect for this meta.
|
boolean |
hasEffect()
Checks if this meta has an effect.
|
void |
setEffect(@Nullable FireworkEffect effect)
Sets the firework effect for this meta.
|
addAttributeModifier, addEnchant, addItemFlags, displayName, displayName, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersion
serialize
getPersistentDataContainer
void setEffect(@Nullable @Nullable FireworkEffect effect)
effect
- the effect to set, or null to indicate none.boolean hasEffect()
@Nullable @Nullable FireworkEffect getEffect()
@NotNull @NotNull FireworkEffectMeta clone()
Copyright © 2021. All rights reserved.