Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
@NotNull FireworkEffect.Type |
FireworkEffect.getType()
Get the type of the firework effect.
|
static FireworkEffect.Type |
FireworkEffect.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FireworkEffect.Type[] |
FireworkEffect.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
@NotNull FireworkEffect.Builder |
FireworkEffect.Builder.with(@NotNull FireworkEffect.Type type)
Specify the type of the firework effect.
|
Copyright © 2022. All rights reserved.