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 | 
|---|
| BLAZE_SHOOTSound of blaze firing. | 
| BOW_FIRESound of a bow firing. | 
| CLICK1A click sound. | 
| CLICK2An alternate click sound. | 
| CLOUDA puff of white smoke | 
| COLOURED_DUSTMulticolored dust particles | 
| CRITCritical hit particles | 
| DOOR_TOGGLESound of a door opening/closing. | 
| ENDER_SIGNALAn ender eye signal; a visual effect. | 
| EXPLOSIONExplosion particles | 
| EXPLOSION_HUGEThe biggest explosion particle effect | 
| EXPLOSION_LARGEA larger version of the explode particle | 
| EXTINGUISHSound of fire being extinguished. | 
| FIREWORKS_SPARKThe spark that comes off a fireworks | 
| FLAMEFire particles | 
| FLYING_GLYPHThe symbols that fly towards the enchantment table | 
| FOOTSTEPA small gray square | 
| GHAST_SHOOTSound of ghast firing. | 
| GHAST_SHRIEKSound of ghast shrieking. | 
| HAPPY_VILLAGERThe particle that appears when trading with a villager | 
| HEARTThe particle that appears when breading animals | 
| INSTANT_SPELLA puff of white stars | 
| ITEM_BREAKThe particles generated when a tool breaks. | 
| LARGE_SMOKEThe smoke particles that appears on blazes, minecarts
 with furnaces and fire | 
| LAVA_POPThe particles that pop out of lava | 
| LAVADRIPThe lava drip particle that appears on blocks under lava | 
| MAGIC_CRITBlue critical hit particles | 
| MOBSPAWNER_FLAMESThe flames seen on a mobspawner; a visual effect. | 
| NOTEThe note that appears above note blocks | 
| PARTICLE_SMOKESmoke particles | 
| PORTALThe particles shown at nether portals | 
| POTION_BREAKVisual effect of a splash potion breaking. | 
| POTION_SWIRLMulticolored potion effect particles | 
| POTION_SWIRL_TRANSPARENTMulticolored potion effect particles that are slightly transparent | 
| RECORD_PLAYA song from a record. | 
| SLIMEThe particle shown when a slime jumps | 
| SMALL_SMOKESmall gray particles | 
| SMOKEA visual smoke effect. | 
| SNOW_SHOVELWhite particles | 
| SNOWBALL_BREAKSnowball breaking | 
| SPELLA puff of white potion swirls | 
| SPLASHWater particles | 
| STEP_SOUNDSound of a block breaking. | 
| TILE_BREAKThe particles generated while breaking a block. | 
| TILE_DUSTThe particles generated while sprinting a block
 This particle requires a Material and data value so that the client can select the correct texture. | 
| VILLAGER_THUNDERCLOUDThe particle that appears when hitting a villager | 
| VOID_FOGSmall gray particles | 
| WATERDRIPThe water drip particle that appears on blocks under water | 
| WITCH_MAGICA puff of purple particles | 
| ZOMBIE_CHEW_IRON_DOORSound of zombies chewing on iron doors. | 
| ZOMBIE_CHEW_WOODEN_DOORSound of zombies chewing on wooden doors. | 
| ZOMBIE_DESTROY_DOORSound of zombies destroying a door. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Effect | getById(int id)Deprecated. 
 Magic value | 
| static Effect | getByName(String name)Gets the Effect associated with the given name. | 
| Class<?> | getData() | 
| int | getId()Deprecated. 
 Magic value | 
| String | getName()Returns the effect's name. | 
| 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 final Effect FIREWORKS_SPARK
public static final Effect CRIT
public static final Effect MAGIC_CRIT
public static final Effect POTION_SWIRL
public static final Effect POTION_SWIRL_TRANSPARENT
public static final Effect SPELL
public static final Effect INSTANT_SPELL
public static final Effect WITCH_MAGIC
public static final Effect NOTE
public static final Effect PORTAL
public static final Effect FLYING_GLYPH
public static final Effect FLAME
public static final Effect LAVA_POP
public static final Effect FOOTSTEP
public static final Effect SPLASH
public static final Effect PARTICLE_SMOKE
public static final Effect EXPLOSION_HUGE
public static final Effect EXPLOSION_LARGE
public static final Effect EXPLOSION
public static final Effect VOID_FOG
public static final Effect SMALL_SMOKE
public static final Effect CLOUD
public static final Effect COLOURED_DUST
public static final Effect SNOWBALL_BREAK
public static final Effect WATERDRIP
public static final Effect LAVADRIP
public static final Effect SNOW_SHOVEL
public static final Effect SLIME
public static final Effect HEART
public static final Effect VILLAGER_THUNDERCLOUD
public static final Effect HAPPY_VILLAGER
public static final Effect LARGE_SMOKE
public static final Effect ITEM_BREAK
public static final Effect TILE_BREAK
public static final Effect TILE_DUST
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 String getName()
public Effect.Type getType()
public Class<?> getData()
@Deprecated public static Effect getById(int id)
id - ID of the Effect to returnCopyright © 2015. All rights reserved.