Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method and Description |
---|---|
FireworkEffect |
FireworkEffect.Builder.build()
Create a
FireworkEffect from the current contents of this
builder. |
Modifier and Type | Method and Description |
---|---|
FireworkEffect |
FireworkEffectMeta.getEffect()
Gets the firework effect for this meta.
|
Modifier and Type | Method and Description |
---|---|
List<FireworkEffect> |
FireworkMeta.getEffects()
Get the effects in this firework.
|
Modifier and Type | Method and Description |
---|---|
void |
FireworkMeta.addEffect(FireworkEffect effect)
Add another effect to this firework.
|
void |
FireworkMeta.addEffects(FireworkEffect... effects)
Add several effects to this firework.
|
void |
FireworkEffectMeta.setEffect(FireworkEffect effect)
Sets the firework effect for this meta.
|
Modifier and Type | Method and Description |
---|---|
void |
FireworkMeta.addEffects(Iterable<FireworkEffect> effects)
Add several firework effects to this firework.
|
Copyright © 2014. All rights reserved.