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 | 
|---|
ANVIL_BREAK
The sound played when an anvil breaks 
 | 
ANVIL_LAND
The sound played when an anvil lands after
 falling 
 | 
ANVIL_USE
The sound played when an anvil is used 
 | 
BAT_TAKEOFF
Sound played by a bat taking off 
 | 
BLAZE_SHOOT
Sound of blaze firing. 
 | 
BOW_FIRE
Sound of a bow firing. 
 | 
BREWING_STAND_BREW
The sound played by brewing stands when brewing 
 | 
CHORUS_FLOWER_DEATH
The sound played when a chorus flower dies 
 | 
CHORUS_FLOWER_GROW
The sound played when a chorus flower grows 
 | 
CLICK1
A click sound. 
 | 
CLICK2
An alternate click sound. 
 | 
CLOUD
A puff of white smoke 
 | 
COLOURED_DUST
Multicolored dust particles 
 | 
CRIT
Critical hit particles 
 | 
DOOR_CLOSE
Sound of a door closing. 
 | 
DOOR_TOGGLE
Sound of a door opening. 
 | 
DRAGON_BREATH
The sound/particles used by the enderdragon's breath
 attack. 
 | 
END_GATEWAY_SPAWN
The sound/particles caused by a end gateway spawning 
 | 
ENDER_SIGNAL
An ender eye signal; a visual effect. 
 | 
ENDERDRAGON_GROWL
The sound of an enderdragon growling 
 | 
ENDERDRAGON_SHOOT
Sound of an enderdragon firing 
 | 
ENDEREYE_LAUNCH
The sound played when launching an endereye 
 | 
EXPLOSION
Explosion particles 
 | 
EXPLOSION_HUGE
The biggest explosion particle effect 
 | 
EXPLOSION_LARGE
A larger version of the explode particle 
 | 
EXTINGUISH
Sound of fire being extinguished. 
 | 
FENCE_GATE_CLOSE
Sound of a door closing. 
 | 
FENCE_GATE_TOGGLE
Sound of a door opening. 
 | 
FIREWORK_SHOOT
The sound played when launching a firework 
 | 
FIREWORKS_SPARK
The spark that comes off a fireworks 
 | 
FLAME
Fire particles 
 | 
FLYING_GLYPH
The symbols that fly towards the enchantment table 
 | 
FOOTSTEP
A small gray square 
 | 
GHAST_SHOOT
Sound of ghast firing. 
 | 
GHAST_SHRIEK
Sound of ghast shrieking. 
 | 
HAPPY_VILLAGER
The particle that appears when trading with a villager 
 | 
HEART
The particle that appears when breading animals 
 | 
INSTANT_SPELL
A puff of white stars 
 | 
IRON_DOOR_CLOSE
Sound of a door closing. 
 | 
IRON_DOOR_TOGGLE
Sound of a door opening. 
 | 
IRON_TRAPDOOR_CLOSE
Sound of a door closing. 
 | 
IRON_TRAPDOOR_TOGGLE
Sound of a door opening. 
 | 
ITEM_BREAK
The particles generated when a tool breaks. 
 | 
LARGE_SMOKE
The smoke particles that appears on blazes, minecarts
 with furnaces and fire 
 | 
LAVA_POP
The particles that pop out of lava 
 | 
LAVADRIP
The lava drip particle that appears on blocks under lava 
 | 
MAGIC_CRIT
Blue critical hit particles 
 | 
MOBSPAWNER_FLAMES
The flames seen on a mobspawner; a visual effect. 
 | 
NOTE
The note that appears above note blocks 
 | 
PARTICLE_SMOKE
Smoke particles 
 | 
PORTAL
The particles shown at nether portals 
 | 
PORTAL_TRAVEL
The sound played when traveling through a portal 
 | 
POTION_BREAK
Visual effect of a splash potion breaking. 
 | 
POTION_SWIRL
Multicolored potion effect particles 
 | 
POTION_SWIRL_TRANSPARENT
Multicolored potion effect particles that are slightly transparent 
 | 
RECORD_PLAY
A song from a record. 
 | 
SLIME
The particle shown when a slime jumps 
 | 
SMALL_SMOKE
Small gray particles 
 | 
SMOKE
A visual smoke effect. 
 | 
SNOW_SHOVEL
White particles 
 | 
SNOWBALL_BREAK
Snowball breaking 
 | 
SPELL
A puff of white potion swirls 
 | 
SPLASH
Water particles 
 | 
STEP_SOUND
Sound of a block breaking. 
 | 
TILE_BREAK
The particles generated while breaking a block. 
 | 
TILE_DUST
The particles generated while sprinting a block
 This particle requires a Material and data value so that the client can select the correct texture. 
 | 
TRAPDOOR_CLOSE
Sound of a trapdoor closing. 
 | 
TRAPDOOR_TOGGLE
Sound of a trapdoor opening. 
 | 
VILLAGER_PLANT_GROW
Particles displayed when a villager grows a plant, data
 is the number of particles 
 | 
VILLAGER_THUNDERCLOUD
The particle that appears when hitting a villager 
 | 
VOID_FOG
Small gray particles 
 | 
WATERDRIP
The water drip particle that appears on blocks under water 
 | 
WITCH_MAGIC
A puff of purple particles 
 | 
WITHER_BREAK_BLOCK
The sound played when a wither breaks a block 
 | 
WITHER_SHOOT
Sound of a wither shooting 
 | 
ZOMBIE_CHEW_IRON_DOOR
Sound of zombies chewing on iron doors. 
 | 
ZOMBIE_CHEW_WOODEN_DOOR
Sound of zombies chewing on wooden doors. 
 | 
ZOMBIE_CONVERTED_VILLAGER
The sound played when a villager is converted by
 a zombie 
 | 
ZOMBIE_DESTROY_DOOR
Sound of zombies destroying a door. 
 | 
ZOMBIE_INFECT
The 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)
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 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
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 © 2021. All rights reserved.