Package org.bukkit
Enum Class Effect
- All Implemented Interfaces:
- Serializable,- Comparable<Effect>,- Constable
A list of effects that the server is able to send to players.
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe sound played when an anvil breaksThe sound played when an anvil lands after fallingThe sound played when an anvil is usedSound played by a bat taking offSound of blaze firing.The sound played / particles shown when bone meal is used to grow a plant.The sound played when a book page is being turned.Sound of a bow firing.The sound played by brewing stands when brewingThe sound played when a chorus flower diesThe sound played when a chorus flower growsA click sound.An alternate click sound.The sound played / particles shown when a composter is being attempted to fill.The particles shown when wax is removed from a copper block.The sound played / particles shown when wax is applied to a copper block.Deprecated.no longer existsDeprecated.no longer existsThe sound/particles used by the enderdragon's breath attack.The particles shown when a dripstone drips lava or water.The particles shown when a lightning hits a lightning rod or oxidized copper.The sound/particles caused by a end gateway spawningThe sound played / particles shown when an eye of ender is placed into an ender portal frame.The particles shown when an ender dragon destroys blocks.An ender eye signal; a visual effect.The sound of an enderdragon growlingSound of an enderdragon firingThe sound played when launching an endereyeSound of fire being extinguished.Deprecated.no longer existsDeprecated.no longer existsThe sound played when launching a fireworkSound of ghast firing.Sound of ghast shrieking.The sound played when a grindstone is being used.The sound played when a husk converts to a zombie.Visual effect of an instant splash potion breaking.Deprecated.no longer existsDeprecated.no longer existsDeprecated.no longer existsDeprecated.no longer existsThe sound played / particles shown when lava interacts with the world.The flames seen on a mobspawner; a visual effect.The particles shown when oxidation is scraped of an oxidized copper block.The sound played when phantom bites.The sound played when a pointed dripstone drips lava into a cauldron.The sound played when a pointed dripstone drips water into a cauldron.The sound played when a pointed dripstone hits the surface.The sound played when traveling through a portalVisual effect of a splash potion breaking.A song from a record.The sound played / particles shown when a redstone torch burns out.The sound played when a skeleton converts to a stray.The sound played when a smithing table is being used.A visual smoke effect.The particles shown when a sponge dries in an ultra warm world (nether).Sound of a block breaking.Deprecated.no longer existsDeprecated.no longer existsParticles displayed when a villager grows a plant, data is the number of particlesThe sound played when a wither breaks a blockSound of a wither shootingSound of zombies chewing on iron doors.Sound of zombies chewing on wooden doors.The sound played when a zombie converts to a drowned.The sound played when a villager is converted by a zombieSound of zombies destroying a door.The sound played when a zombie infects a target
- 
Method SummaryModifier and TypeMethodDescriptionstatic EffectgetById(int id) Deprecated.Magic valueClass<?> getData()intgetId()Deprecated.Magic valuegetType()static EffectReturns the enum constant of this class with the specified name.static Effect[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
CLICK2An alternate click sound.
- 
CLICK1A click sound.
- 
BOW_FIRESound of a bow firing.
- 
DOOR_TOGGLEDeprecated.no longer existsSound of a door opening.- See Also:
 
- 
IRON_DOOR_TOGGLEDeprecated.no longer existsSound of a door opening.- See Also:
 
- 
TRAPDOOR_TOGGLEDeprecated.no longer existsSound of a trapdoor opening.- See Also:
 
- 
IRON_TRAPDOOR_TOGGLEDeprecated.no longer existsSound of a door opening.- See Also:
 
- 
FENCE_GATE_TOGGLEDeprecated.no longer existsSound of a door opening.- See Also:
 
- 
DOOR_CLOSEDeprecated.no longer existsSound of a door closing.- See Also:
 
- 
IRON_DOOR_CLOSEDeprecated.no longer existsSound of a door closing.- See Also:
 
- 
TRAPDOOR_CLOSEDeprecated.no longer existsSound of a trapdoor closing.- See Also:
 
- 
IRON_TRAPDOOR_CLOSEDeprecated.no longer existsSound of a door closing.- See Also:
 
- 
FENCE_GATE_CLOSEDeprecated.no longer existsSound of a door closing.- See Also:
 
- 
EXTINGUISHSound of fire being extinguished.
- 
RECORD_PLAYA song from a record. Needs the record item ID as additional info
- 
GHAST_SHRIEKSound of ghast shrieking.
- 
GHAST_SHOOTSound of ghast firing.
- 
BLAZE_SHOOTSound of blaze firing.
- 
ZOMBIE_CHEW_WOODEN_DOORSound of zombies chewing on wooden doors.
- 
ZOMBIE_CHEW_IRON_DOORSound of zombies chewing on iron doors.
- 
ZOMBIE_DESTROY_DOORSound of zombies destroying a door.
- 
SMOKEA visual smoke effect. Needs direction as additional info.
- 
STEP_SOUNDSound of a block breaking. Needs block ID as additional info.
- 
POTION_BREAKVisual effect of a splash potion breaking. Needs potion data value as additional info.
- 
INSTANT_POTION_BREAKVisual effect of an instant splash potion breaking. Needs color data value as additional info.
- 
ENDER_SIGNALAn ender eye signal; a visual effect.
- 
MOBSPAWNER_FLAMESThe flames seen on a mobspawner; a visual effect.
- 
BREWING_STAND_BREWThe sound played by brewing stands when brewing
- 
CHORUS_FLOWER_GROWThe sound played when a chorus flower grows
- 
CHORUS_FLOWER_DEATHThe sound played when a chorus flower dies
- 
PORTAL_TRAVELThe sound played when traveling through a portal
- 
ENDEREYE_LAUNCHThe sound played when launching an endereye
- 
FIREWORK_SHOOTThe sound played when launching a firework
- 
VILLAGER_PLANT_GROWParticles displayed when a villager grows a plant, data is the number of particles
- 
DRAGON_BREATHThe sound/particles used by the enderdragon's breath attack.
- 
ANVIL_BREAKThe sound played when an anvil breaks
- 
ANVIL_USEThe sound played when an anvil is used
- 
ANVIL_LANDThe sound played when an anvil lands after falling
- 
ENDERDRAGON_SHOOTSound of an enderdragon firing
- 
WITHER_BREAK_BLOCKThe sound played when a wither breaks a block
- 
WITHER_SHOOTSound of a wither shooting
- 
ZOMBIE_INFECTThe sound played when a zombie infects a target
- 
ZOMBIE_CONVERTED_VILLAGERThe sound played when a villager is converted by a zombie
- 
BAT_TAKEOFFSound played by a bat taking off
- 
END_GATEWAY_SPAWNThe sound/particles caused by a end gateway spawning
- 
ENDERDRAGON_GROWLThe sound of an enderdragon growling
- 
PHANTOM_BITEThe sound played when phantom bites.
- 
ZOMBIE_CONVERTED_TO_DROWNEDThe sound played when a zombie converts to a drowned.
- 
HUSK_CONVERTED_TO_ZOMBIEThe sound played when a husk converts to a zombie.
- 
GRINDSTONE_USEThe sound played when a grindstone is being used.
- 
BOOK_PAGE_TURNThe sound played when a book page is being turned.
- 
SMITHING_TABLE_USEThe sound played when a smithing table is being used.
- 
POINTED_DRIPSTONE_LANDThe sound played when a pointed dripstone hits the surface.
- 
POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRONThe sound played when a pointed dripstone drips lava into a cauldron.
- 
POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRONThe sound played when a pointed dripstone drips water into a cauldron.
- 
SKELETON_CONVERTED_TO_STRAYThe sound played when a skeleton converts to a stray.
- 
COMPOSTER_FILL_ATTEMPTThe sound played / particles shown when a composter is being attempted to fill. True for a successful attempt false for an unsuccessful attempt.
- 
LAVA_INTERACTThe sound played / particles shown when lava interacts with the world. For example by forming stone, obsidian, basalt or destroying blocks such as torches.
- 
REDSTONE_TORCH_BURNOUTThe sound played / particles shown when a redstone torch burns out.
- 
END_PORTAL_FRAME_FILLThe sound played / particles shown when an eye of ender is placed into an ender portal frame.
- 
DRIPPING_DRIPSTONEThe particles shown when a dripstone drips lava or water. This effect requires a dripstone at the location as well as lava or water at the root of the dripstone.
- 
BONE_MEAL_USEThe sound played / particles shown when bone meal is used to grow a plant. Data is the number of particles.
- 
ENDER_DRAGON_DESTROY_BLOCKThe particles shown when an ender dragon destroys blocks.
- 
SPONGE_DRYThe particles shown when a sponge dries in an ultra warm world (nether).
- 
ELECTRIC_SPARKThe particles shown when a lightning hits a lightning rod or oxidized copper. Data is the axis at which the particle should be shown. If no data is provided it will show the particles at the block faces.
- 
COPPER_WAX_ONThe sound played / particles shown when wax is applied to a copper block.
- 
COPPER_WAX_OFFThe particles shown when wax is removed from a copper block.
- 
OXIDISED_COPPER_SCRAPEThe particles shown when oxidation is scraped of an oxidized copper block.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getIdDeprecated.Magic valueGets the ID for this effect.- Returns:
- ID of this effect
 
- 
getType- Returns:
- The type of the effect.
 
- 
getData- Returns:
- The class which represents data for this effect, or null if none
 
- 
getByIdDeprecated.Magic valueGets the Effect associated with the given ID.- Parameters:
- id- ID of the Effect to return
- Returns:
- Effect with the given ID
 
 
-