Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method and Description |
---|---|
@NotNull FireworkEffect |
FireworkEffect.Builder.build()
Create a
FireworkEffect from the current contents of this
builder. |
Modifier and Type | Method and Description |
---|---|
@Nullable FireworkEffect |
FireworkEffectMeta.getEffect()
Gets the firework effect for this meta.
|
Modifier and Type | Method and Description |
---|---|
void |
FireworkMeta.addEffect(@NotNull FireworkEffect effect)
Add another effect to this firework.
|
void |
FireworkMeta.addEffects(FireworkEffect... effects)
Add several effects to this firework.
|
void |
FireworkEffectMeta.setEffect(@Nullable FireworkEffect effect)
Sets the firework effect for this meta.
|
Copyright © 2021. All rights reserved.