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 | Description |
---|---|---|
@NotNull FireworkEffect |
FireworkEffect.Builder.build() |
Create a
FireworkEffect from the current contents of this
builder. |
Modifier and Type | Method | Description |
---|---|---|
@Nullable FireworkEffect |
FireworkEffectMeta.getEffect() |
Gets the firework effect for this meta.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull List<FireworkEffect> |
FireworkMeta.getEffects() |
Get the effects in this firework.
|
Modifier and Type | Method | Description |
---|---|---|
void |
FireworkMeta.addEffect(@NotNull FireworkEffect effect) |
Add another effect to this firework.
|
void |
FireworkMeta.addEffects(@NotNull FireworkEffect... effects) |
Add several effects to this firework.
|
void |
FireworkEffectMeta.setEffect(@Nullable FireworkEffect effect) |
Sets the firework effect for this meta.
|
Modifier and Type | Method | Description |
---|---|---|
void |
FireworkMeta.addEffects(@NotNull Iterable<FireworkEffect> effects) |
Add several firework effects to this firework.
|
Copyright © 2020. All rights reserved.