public enum Effect extends Enum<Effect>
Modifier and Type | Class and Description |
---|---|
static class |
Effect.Type
Represents the type of an effect.
|
Enum Constant and Description |
---|
BLAZE_SHOOT
Sound of blaze firing.
|
BOW_FIRE
Sound of a bow firing.
|
CLICK1
A click sound.
|
CLICK2
An alternate click sound.
|
DOOR_TOGGLE
Sound of a door opening/closing.
|
ENDER_SIGNAL
An ender eye signal; a visual effect.
|
EXTINGUISH
Sound of fire being extinguished.
|
GHAST_SHOOT
Sound of ghast firing.
|
GHAST_SHRIEK
Sound of ghast shrieking.
|
MOBSPAWNER_FLAMES
The flames seen on a mobspawner; a visual effect.
|
POTION_BREAK
Visual effect of a splash potion breaking.
|
RECORD_PLAY
A song from a record.
|
SMOKE
A visual smoke effect.
|
STEP_SOUND
Sound of a block breaking.
|
ZOMBIE_CHEW_IRON_DOOR
Sound of zombies chewing on iron doors.
|
ZOMBIE_CHEW_WOODEN_DOOR
Sound of zombies chewing on wooden doors.
|
ZOMBIE_DESTROY_DOOR
Sound of zombies destroying a door.
|
Modifier and Type | Method and Description |
---|---|
static Effect |
getById(int id)
Deprecated.
Magic value
|
Class<?> |
getData() |
int |
getId()
Deprecated.
Magic value
|
Effect.Type |
getType() |
static Effect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Effect CLICK2
public static final Effect CLICK1
public static final Effect BOW_FIRE
public static final Effect DOOR_TOGGLE
public static final Effect EXTINGUISH
public static final Effect RECORD_PLAY
public static final Effect GHAST_SHRIEK
public static final Effect GHAST_SHOOT
public static final Effect BLAZE_SHOOT
public static final Effect ZOMBIE_CHEW_WOODEN_DOOR
public static final Effect ZOMBIE_CHEW_IRON_DOOR
public static final Effect ZOMBIE_DESTROY_DOOR
public static final Effect SMOKE
public static final Effect STEP_SOUND
public static final Effect POTION_BREAK
public static final Effect ENDER_SIGNAL
public static final Effect MOBSPAWNER_FLAMES
public static Effect[] values()
for (Effect c : Effect.values()) System.out.println(c);
public static Effect valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null@Deprecated public int getId()
public Effect.Type getType()
public Class<?> getData()
@Deprecated public static Effect getById(int id)
id
- ID of the Effect to returnCopyright © 2014. All rights reserved.