|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ParticleShape>
com.quartercode.quarterbukkit.api.particle.ParticleShape
public enum ParticleShape
A enumeration of all avaiable particle shapes.
Enum Constant Summary | |
---|---|
BALL_LARGE
A large default-like ball. |
|
BALL_SMALL
A small default-like ball. |
|
BURST
A bursty shape. |
|
CREEPER
A creeper face. |
|
STAR
A 3D star. |
Method Summary | |
---|---|
org.bukkit.FireworkEffect.Type |
getFireworkType()
Returns the firework FireworkEffect.Type represented by the particle shape. |
static ParticleShape |
getShape(org.bukkit.FireworkEffect.Type fireworkType)
Returns a particle shape from a firework FireworkEffect.Type . |
static ParticleShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParticleShape[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ParticleShape BALL_SMALL
public static final ParticleShape BALL_LARGE
public static final ParticleShape STAR
public static final ParticleShape BURST
public static final ParticleShape CREEPER
Method Detail |
---|
public static ParticleShape[] values()
for (ParticleShape c : ParticleShape.values()) System.out.println(c);
public static ParticleShape valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ParticleShape getShape(org.bukkit.FireworkEffect.Type fireworkType)
FireworkEffect.Type
.
fireworkType
- The firework FireworkEffect.Type
.
public org.bukkit.FireworkEffect.Type getFireworkType()
FireworkEffect.Type
represented by the particle shape.
FireworkEffect.Type
represented by the particle shape.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |