public enum Effect extends Enum<Effect>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Effect.TypeRepresents the type of an effect. | 
| Enum Constant and Description | 
|---|
| ANVIL_BREAKThe sound played when an anvil breaks | 
| ANVIL_LANDThe sound played when an anvil lands after
 falling | 
| ANVIL_USEThe sound played when an anvil is used | 
| BAT_TAKEOFFSound played by a bat taking off | 
| BLAZE_SHOOTSound of blaze firing. | 
| BOW_FIRESound of a bow firing. | 
| BREWING_STAND_BREWThe sound played by brewing stands when brewing | 
| CHORUS_FLOWER_DEATHThe sound played when a chorus flower dies | 
| CHORUS_FLOWER_GROWThe sound played when a chorus flower grows | 
| CLICK1A click sound. | 
| CLICK2An alternate click sound. | 
| CLOUDDeprecated. 
 Spigot specific API, use  Particle. | 
| COLOURED_DUSTDeprecated. 
 Spigot specific API, use  Particle. | 
| CRITDeprecated. 
 Spigot specific API, use  Particle. | 
| DOOR_CLOSESound of a door closing. | 
| DOOR_TOGGLESound of a door opening. | 
| DRAGON_BREATHThe sound/particles used by the enderdragon's breath
 attack. | 
| END_GATEWAY_SPAWNThe sound/particles caused by a end gateway spawning | 
| ENDER_SIGNALAn ender eye signal; a visual effect. | 
| ENDERDRAGON_GROWLThe sound of an enderdragon growling | 
| ENDERDRAGON_SHOOTSound of an enderdragon firing | 
| ENDEREYE_LAUNCHThe sound played when launching an endereye | 
| EXPLOSIONDeprecated. 
 Spigot specific API, use  Particle. | 
| EXPLOSION_HUGEDeprecated. 
 Spigot specific API, use  Particle. | 
| EXPLOSION_LARGEDeprecated. 
 Spigot specific API, use  Particle. | 
| EXTINGUISHSound of fire being extinguished. | 
| FENCE_GATE_CLOSESound of a door closing. | 
| FENCE_GATE_TOGGLESound of a door opening. | 
| FIREWORK_SHOOTThe sound played when launching a firework | 
| FIREWORKS_SPARKDeprecated. 
 Spigot specific API, use  Particle. | 
| FLAMEDeprecated. 
 Spigot specific API, use  Particle. | 
| FLYING_GLYPHDeprecated. 
 Spigot specific API, use  Particle. | 
| FOOTSTEPDeprecated. 
 Spigot specific API, use  Particle. | 
| GHAST_SHOOTSound of ghast firing. | 
| GHAST_SHRIEKSound of ghast shrieking. | 
| HAPPY_VILLAGERDeprecated. 
 Spigot specific API, use  Particle. | 
| HEARTDeprecated. 
 Spigot specific API, use  Particle. | 
| INSTANT_SPELLDeprecated. 
 Spigot specific API, use  Particle. | 
| IRON_DOOR_CLOSESound of a door closing. | 
| IRON_DOOR_TOGGLESound of a door opening. | 
| IRON_TRAPDOOR_CLOSESound of a door closing. | 
| IRON_TRAPDOOR_TOGGLESound of a door opening. | 
| ITEM_BREAKDeprecated. 
 Spigot specific API, use  Particle. | 
| LARGE_SMOKEDeprecated. 
 Spigot specific API, use  Particle. | 
| LAVA_POPDeprecated. 
 Spigot specific API, use  Particle. | 
| LAVADRIPDeprecated. 
 Spigot specific API, use  Particle. | 
| MAGIC_CRITDeprecated. 
 Spigot specific API, use  Particle. | 
| MOBSPAWNER_FLAMESThe flames seen on a mobspawner; a visual effect. | 
| NOTEDeprecated. 
 Spigot specific API, use  Particle. | 
| PARTICLE_SMOKEDeprecated. 
 Spigot specific API, use  Particle. | 
| PORTALDeprecated. 
 Spigot specific API, use  Particle. | 
| PORTAL_TRAVELThe sound played when traveling through a portal | 
| POTION_BREAKVisual effect of a splash potion breaking. | 
| POTION_SWIRLDeprecated. 
 Spigot specific API, use  Particle. | 
| POTION_SWIRL_TRANSPARENTDeprecated. 
 Spigot specific API, use  Particle. | 
| RECORD_PLAYA song from a record. | 
| SLIMEDeprecated. 
 Spigot specific API, use  Particle. | 
| SMALL_SMOKEDeprecated. 
 Spigot specific API, use  Particle. | 
| SMOKEA visual smoke effect. | 
| SNOW_SHOVELDeprecated. 
 Spigot specific API, use  Particle. | 
| SNOWBALL_BREAKDeprecated. 
 Spigot specific API, use  Particle. | 
| SPELLDeprecated. 
 Spigot specific API, use  Particle. | 
| SPLASHDeprecated. 
 Spigot specific API, use  Particle. | 
| STEP_SOUNDSound of a block breaking. | 
| TILE_BREAKDeprecated. 
 Spigot specific API, use  Particle. | 
| TILE_DUSTDeprecated. 
 Spigot specific API, use  Particle. | 
| TRAPDOOR_CLOSESound of a trapdoor closing. | 
| TRAPDOOR_TOGGLESound of a trapdoor opening. | 
| VILLAGER_PLANT_GROWParticles displayed when a villager grows a plant, data
 is the number of particles | 
| VILLAGER_THUNDERCLOUDDeprecated. 
 Spigot specific API, use  Particle. | 
| VOID_FOGDeprecated. 
 Spigot specific API, use  Particle. | 
| WATERDRIPDeprecated. 
 Spigot specific API, use  Particle. | 
| WITCH_MAGICDeprecated. 
 Spigot specific API, use  Particle. | 
| WITHER_BREAK_BLOCKThe sound played when a wither breaks a block | 
| WITHER_SHOOTSound of a wither shooting | 
| ZOMBIE_CHEW_IRON_DOORSound of zombies chewing on iron doors. | 
| ZOMBIE_CHEW_WOODEN_DOORSound of zombies chewing on wooden doors. | 
| ZOMBIE_CONVERTED_VILLAGERThe sound played when a villager is converted by
 a zombie | 
| ZOMBIE_DESTROY_DOORSound of zombies destroying a door. | 
| ZOMBIE_INFECTThe sound played when a zombie infects a target | 
| Modifier and Type | Method and Description | 
|---|---|
| static Effect | getById(int id)Deprecated. 
 Magic value | 
| static Effect | getByName(String name)Deprecated. 
 Spigot specific API, use  Particle. | 
| Class<?> | getData() | 
| int | getId()Deprecated. 
 Magic value | 
| String | getName()Deprecated. 
 Spigot specific API, use  Particle. | 
| 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 IRON_DOOR_TOGGLE
public static final Effect TRAPDOOR_TOGGLE
public static final Effect IRON_TRAPDOOR_TOGGLE
public static final Effect FENCE_GATE_TOGGLE
public static final Effect DOOR_CLOSE
public static final Effect IRON_DOOR_CLOSE
public static final Effect TRAPDOOR_CLOSE
public static final Effect IRON_TRAPDOOR_CLOSE
public static final Effect FENCE_GATE_CLOSE
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 final Effect BREWING_STAND_BREW
public static final Effect CHORUS_FLOWER_GROW
public static final Effect CHORUS_FLOWER_DEATH
public static final Effect PORTAL_TRAVEL
public static final Effect ENDEREYE_LAUNCH
public static final Effect FIREWORK_SHOOT
public static final Effect VILLAGER_PLANT_GROW
public static final Effect DRAGON_BREATH
public static final Effect ANVIL_BREAK
public static final Effect ANVIL_USE
public static final Effect ANVIL_LAND
public static final Effect ENDERDRAGON_SHOOT
public static final Effect WITHER_BREAK_BLOCK
public static final Effect WITHER_SHOOT
public static final Effect ZOMBIE_INFECT
public static final Effect ZOMBIE_CONVERTED_VILLAGER
public static final Effect BAT_TAKEOFF
public static final Effect END_GATEWAY_SPAWN
public static final Effect ENDERDRAGON_GROWL
@Deprecated public static final Effect FIREWORKS_SPARK
Particle.@Deprecated public static final Effect CRIT
Particle.@Deprecated public static final Effect MAGIC_CRIT
Particle.@Deprecated public static final Effect POTION_SWIRL
Particle.@Deprecated public static final Effect POTION_SWIRL_TRANSPARENT
Particle.@Deprecated public static final Effect SPELL
Particle.@Deprecated public static final Effect INSTANT_SPELL
Particle.@Deprecated public static final Effect WITCH_MAGIC
Particle.@Deprecated public static final Effect NOTE
Particle.@Deprecated public static final Effect PORTAL
Particle.@Deprecated public static final Effect FLYING_GLYPH
Particle.@Deprecated public static final Effect FLAME
Particle.@Deprecated public static final Effect LAVA_POP
Particle.@Deprecated public static final Effect FOOTSTEP
Particle.@Deprecated public static final Effect SPLASH
Particle.@Deprecated public static final Effect PARTICLE_SMOKE
Particle.@Deprecated public static final Effect EXPLOSION_HUGE
Particle.@Deprecated public static final Effect EXPLOSION_LARGE
Particle.@Deprecated public static final Effect EXPLOSION
Particle.@Deprecated public static final Effect VOID_FOG
Particle.@Deprecated public static final Effect SMALL_SMOKE
Particle.@Deprecated public static final Effect CLOUD
Particle.@Deprecated public static final Effect COLOURED_DUST
Particle.@Deprecated public static final Effect SNOWBALL_BREAK
Particle.@Deprecated public static final Effect WATERDRIP
Particle.@Deprecated public static final Effect LAVADRIP
Particle.@Deprecated public static final Effect SNOW_SHOVEL
Particle.@Deprecated public static final Effect SLIME
Particle.@Deprecated public static final Effect HEART
Particle.@Deprecated public static final Effect VILLAGER_THUNDERCLOUD
Particle.@Deprecated public static final Effect HAPPY_VILLAGER
Particle.@Deprecated public static final Effect LARGE_SMOKE
Particle.@Deprecated public static final Effect ITEM_BREAK
Particle.@Deprecated public static final Effect TILE_BREAK
Particle.@Deprecated public static final Effect TILE_DUST
Particle.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()
@Deprecated public String getName()
Particle.public Effect.Type getType()
public Class<?> getData()
@Deprecated public static Effect getById(int id)
id - ID of the Effect to return@Deprecated public static Effect getByName(String name)
Particle.name - name of the Effect to returnCopyright © 2017. All rights reserved.