Enum Class ParticleEffect
- All Implemented Interfaces:
Serializable,Comparable<ParticleEffect>,java.lang.constant.Constable
Enum to reflect particle packets with their respective data.
List of all currently supported effects:
ASHBARRIERBLOCK_CRACKBLOCK_DUSTBUBBLE_COLUMN_UPBLOCK_MARKERBUBBLE_POPCAMPFIRE_COSY_SMOKECAMPFIRE_SIGNAL_SMOKECLOUDCOMPOSTERCRIMSON_SPORECRITCRIT_MAGICCURRENT_DOWNDAMAGE_INDICATORDOLPHINDRAGON_BREATHDRIP_LAVADRIP_WATERDRIPPING_DRIPSTONE_LAVADRIPPING_DRIPSTONE_WATERDRIPPING_HONEYDRIPPING_OBSIDIAN_TEARDUST_COLOR_TRANSITIONELECTRIC_SPARKENCHANTMENT_TABLEEND_RODEXPLOSION_HUGEEXPLOSION_LARGEEXPLOSION_NORMALFALLING_DRIPSTONE_LAVAFALLING_DRIPSTONE_WATERFALLING_DUSTFALLING_HONEYFALLING_NECTARFALLING_OBSIDIAN_TEARFALLING_SPORE_BLOSSOMFIREWORKS_SPARKFLAMEFLASHFOOTSTEPGLOWGLOW_SQUID_INKHEARTITEM_CRACKLANDING_HONEYLANDING_OBSIDIAN_TEARLAVALIGHTMOB_APPEARANCENAUTILUSNOTEPORTALREDSTONEREVERSE_PORTALSCRAPESCULK_CHARGESCULK_CHARGE_POPSCULK_SOULSHRIEKSLIMESMALL_FLAMESMOKE_LARGESMOKE_NORMALSNEEZESNOWBALLSNOWFLAKESNOW_SHOVELSONIC_BOOMSOULSOUL_FIRE_FLAMESPELLSPELL_INSTANTSPELL_MOBSPELL_MOB_AMBIENTSPELL_WITCHSPITSPORE_BLOSSOM_AIRSQUID_INKSUSPENDEDSUSPENDED_DEPTHSWEEP_ATTACKTOTEMTOWN_AURAVIBRATIONVILLAGER_ANGRYVILLAGER_HAPPYWARPED_SPOREWATER_BUBBLEWATER_DROPWATER_SPLASHWATER_WAKEWAX_OFFWAX_ONWHITE_ASH
- Since:
- 28.05.2019
- Author:
- ByteZ
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn vanilla, this particle is randomly displayed in the basalt deltas nether biome.REPLACED BYBLOCK_MARKERSINCE 1.18In vanilla, this particle is displayed when a player breaks a block or sprints.In vanilla, this particle is displayed when an entity hits the ground after falling.In vanilla, this particle is displayed by barrier blocks when a player holds a barrier item in the main or off hand or by the light block.In vanilla, this particle is randomly displayed by magma blocks and soulsand underwater.In vanilla, this particle is displayed at the top of bubble columns.In vanilla, this particle is displayed by campfires.In vanilla, this particle is displayed by campfires with a hay bale placed under them.In vanilla, this particle is displayed when an entity dies.In vanilla, this particle is displayed when a composter is used by a player.In vanilla, this particle is displayed in the crimson forest nether biome.In vanilla, this particle is displayed when a player lands a critical hit on an entity or an arrow is launched with full power.In vanilla, this particle is displayed when a player hits an entity with a sharpness sword.In vanilla, this particle is displayed by magma blocks underwater.In vanilla, this particle is displayed when a Player hits an Entity by melee attack.In vanilla, this particle is displayed as a trail of dolphins.In vanilla, this particle is displayed by the ender dragons breath and ender fireballs.In vanilla, this particle is displayed randomly when a lava block is above a block.In vanilla, this particle is displayed randomly when a water block is above a block.In vanilla, this particle is shown dripping from the tip of pointed dripstones.In vanilla, this particle is shown dripping from the tip of pointed dripstones.In vanilla, this particle is displayed by beehives filled with honey.In vanilla, this particle is displayed by crying obsidian.In vanilla, this particle is displayed when a sculk sensor is triggered.In vanilla, this particle appears when a lightning bolt hits copper blocks.In vanilla, this particle is displayed by bookshelves near an enchanting table.In vanilla, this particle is displayed by end rods and shulker bullets.In vanilla, this particle is displayed when tnt or creeper explodes.In vanilla, this particle is displayed when a fireball explodes or a wither skull hits a block/entity.In vanilla, this particle is displayed when either a creeper or a tnt explodes.In vanilla, this particle is displayed afterDRIPPING_DRIPSTONE_LAVAstarts falling from pointed dripstones.In vanilla, this particle is displayed afterDRIPPING_DRIPSTONE_WATERstarts falling from pointed dripstones.In vanilla, this particle is displayed randomly by floating sand and gravel.In vanilla, this particle is displayed below beehives filled with honey.In vanilla, this particle is displayed by bees that have pollen and are on their way to the beehive.In vanilla, this particle is displayed below crying obsidian blocks.In vanilla, this particle is displayed below spore blossoms.In vanilla, this particle is displayed when a firework is launched.In vanilla, this particle is randomly displayed by torches, active furnaces,spawners and magma cubes.In vanilla, this particle is displayed by exploding fireworksThis particle is unused and is removed in the version 1.13.In vanilla, this particle is displayed by a glow squid.In vanilla, this particle is displayed by a glow squid when it gets hurt.In vanilla, this particle is displayed when taming or breeding animals.In vanilla, this particle is displayed when a tool is broken, an egg or a splash potion hits an entity or a block, It is also displayed when a player eats or an eye of ender breaks.In vanilla, this particle is displayed after a falling or dripping Honey particle reaches a block.In vanilla, this particle is displayed after a falling or dripping obsidian tear reaches a block.In vanilla, this particle is randomly displayed by lava.REPLACED BYBLOCK_MARKERSINCE 1.18In vanilla, this particle is displayed by elder guardians.In vanilla, this particle is displayed by active conduits.In vanilla, this particle is displayed when rightclicking or activating a note block.In vanilla, this particle is randomly displayed by nether portal, endermen, ender chests, dragon eggs, endermites and end gateway portals.In vanilla, this particle is randomly displayed by active redstone ore, active redstone, active redstone repeater and active redstone torches.Currently Unused in vanilla.In vanilla, this particle is displayed when oxidation is scraped off a copper block.Information: Appearance: Blue dust turning into a circle. Speed value: Influences the velocity at which the particle flies off. Extra: You can use theSculkChargeDataclass to change the roll of this particle. Extra: The velocity of this particle can be set.Information: Appearance: A blue circle popping. Speed value: Influences the velocity at which the particle flies off. Extra: The velocity of this particle can be set.Information: Appearance: A blue soul. Speed value: Influences the velocity at which the particle flies off. Extra: The velocity of this particle can be set.Information: Appearance: A blue circle flying up. Speed value: Doesn't influence the particle. Extra: You can set the delay before the particle appears using theShriekDataclass.In vanilla, this particle is displayed by jumping slimes.Information: Appearance: A small flame. Speed value: Influences the velocity at which the particle flies off. Extra: The velocity of this particle can be set.In vanilla, this particle is randomly displayed by fire, furnace minecarts and blazes.In vanilla, this particle is randomly displayed by primed tnt, torches, end portals, active brewing stands, monster spawners or when either a dropper or dispenser gets triggered.In vanilla, this particle is displayed by sneezing baby pandas.This particle is unused and is merged into "poof" in 1.13.In vanilla, this particle is displayed when a snowball hits an entity or a block.In vanilla, this particle is displayed when a player sinks in powder snow.Information: Appearance: A blue explosion. Speed value: Doesn't influence the particle.In vanilla, this particle is displayed when a player walks on soulsand with the soul speed enchantment.In vanilla, this particle is displayed by soul torchesIn vanilla, this particle is displayed when a splash potion or an experience bottle hits a block or an entity.In vanilla, this particle is displayed when an instant splash potion (e.g.In vanilla, this particle is displayed when an entity has an active potion effect with the "ShowParticles" tag set to 1.In vanilla, this particle is displayed when an entity has an active potion effect from a nearby beacon.In vanilla, this particle is displayed randomly by witches.In vanilla, this particle is displayed by llamas while attacking an entity.In vanilla, this particle is emitted around spore blossoms.In vanilla, this particle is displayed when a squid gets damaged.In vanilla, this particle is displayed randomly in water.In vanilla, this particle is displayed when a player is close to bedrock or the void.In vanilla, this particle is displayed when a Player hits multiple entities at once with a sword.In vanilla, this particle is displayed when a totem of undying is used.In vanilla, this particle is randomly displayed by mycelium blocks.In vanilla, this particle is displayed when a sculk sensor is triggered.In vanilla, this particle is displayed when attacking a village.In vanilla, this particle is displayed when trading with a villager, using bone meal on crops, feeding baby animals or walking on turtle eggs.In vanilla, this particle is displayed in the warped forest nether biome.In vanilla, this particle is displayed when an Entity is swimming in water, a projectile flies into the water or a fish bites onto the bait.In vanilla, this particle is displayed when rain hits the ground.In vanilla, this particle is displayed when an Entity is swimming in water, wolves shaking off after swimming or boats.In vanilla, this particle is displayed when a fish bites onto the bait of a fishing rod.In vanilla, this particle is displayed when wax is removed from a copper block.In vanilla, this particle is displayed when wax is applied to a copper block.In vanilla, this particle is randomly displayed in the basalt deltas nether biome. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ParticleEffect,Object> AHashMapto store the nms instances of all currently supportedParticleEffects.static final List<ParticleEffect>An array with allParticleEffects. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(org.bukkit.Location location) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, Predicate<org.bukkit.entity.Player> filter) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, org.bukkit.entity.Player... players) Displays the currentParticleEffect.voidDisplays the currentParticleEffect.voiddisplay(org.bukkit.Location location, Color color, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.voidDisplays the currentParticleEffect.voidDisplays the currentParticleEffect.voiddisplay(org.bukkit.Location location, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.voidDisplays the currentParticleEffect.voiddisplay(org.bukkit.Location location, org.bukkit.entity.Player... players) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, Predicate filter) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, org.bukkit.entity.Player... players) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, ParticleColor color) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, ParticleColor color, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, ParticleColor color, Predicate filter) Displays the currentParticleEffect.voiddisplay(org.bukkit.Location location, ParticleColor color, org.bukkit.entity.Player... players) Displays the currentParticleEffect.static Set<ParticleEffect>Returns a set of all effects that are available in the current version.Applies theIntFunctiondefined in the constructor to get the respective name of the particle.Gets the nms instance of the currentParticleEffectinstance.booleanhasProperty(PropertyType propertyType) Checks if the currentParticleEffectinstance has a specificPropertyType.booleanisCorrectColor(ParticleColor color) Checks if the currentParticleEffectinstance needs the givenParticleColor.booleanisCorrectData(ParticleData data) Checks if the currentParticleEffectinstance supports the givenParticleData.static ParticleEffectReturns the enum constant of this class with the specified name.static ParticleEffect[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ASH
In vanilla, this particle is randomly displayed in the basalt deltas nether biome.The movement of this particle is handled completely clientside and can therefore not be influenced.
Information
- Appearance: Gray/White square
- Speed value: Doesn't influence the particle.
- Extra: This Particle gets a random velocity while falling down.
-
BARRIER
REPLACED BYBLOCK_MARKERSINCE 1.18In vanilla, this particle is displayed by barrier blocks when a player holds a barrier item in the main or off hand.
Information:
- Appearance: Red box with a slash through it.
- Speed value: Doesn't influence the particle.
-
BLOCK_CRACK
In vanilla, this particle is displayed when a player breaks a block or sprints. It's also displayed by iron golems while walking.Information:
- Appearance: Little piece of a texture.
- Speed value: Doesn't influence the particle.
- Extra: This particle needs a block texture in order to work.
-
BLOCK_DUST
In vanilla, this particle is displayed when an entity hits the ground after falling. It's also displayed when an armorstand is broken.Information:
- Appearance: Little piece of a texture.
- Extra:
- The velocity of this particle can be set. The amount has to be 0
- This particle needs a block texture in order to work.
-
BUBBLE_COLUMN_UP
In vanilla, this particle is randomly displayed by magma blocks and soulsand underwater.Information:
- Appearance: Bubble with blue outline.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
BLOCK_MARKER
In vanilla, this particle is displayed by barrier blocks when a player holds a barrier item in the main or off hand or by the light block.Information:
- Appearance: Texture of the provided block.
- Speed value: Doesn't influence the particle.
- Extra: This particle needs a block texture in order to work.
-
BUBBLE_POP
In vanilla, this particle is displayed at the top of bubble columns.Information:
- Appearance: Blue circle.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
CAMPFIRE_COSY_SMOKE
In vanilla, this particle is displayed by campfires.Information:
- Appearance: Smoke cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
CAMPFIRE_SIGNAL_SMOKE
In vanilla, this particle is displayed by campfires with a hay bale placed under them.Information:
- Appearance: Smoke cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
CLOUD
In vanilla, this particle is displayed when an entity dies.Information:
- Appearance: Large white cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
COMPOSTER
In vanilla, this particle is displayed when a composter is used by a player.Information:
- Appearance: Green start
- Speed value: Doesn't influence the particle.
-
CRIMSON_SPORE
In vanilla, this particle is displayed in the crimson forest nether biome.Information:
- Appearance: Pink square.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: This Particle gets a random velocity up.
-
CRIT
In vanilla, this particle is displayed when a player lands a critical hit on an entity or an arrow is launched with full power.Information:
- Appearance: Light brown cross.
- Speed value: Influences the velocity at which the particle flies off.
-
CRIT_MAGIC
In vanilla, this particle is displayed when a player hits an entity with a sharpness sword.Information:
- Appearance: Cyan star.
- Speed value: Influences the velocity at which the particle flies off.
-
CURRENT_DOWN
In vanilla, this particle is displayed by magma blocks underwater.Information:
- Appearance: Cyan star.
- Speed value: Doesn't influence the particle.
-
DAMAGE_INDICATOR
In vanilla, this particle is displayed when a Player hits an Entity by melee attack.Information:
- Appearance: A dark red heart.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
DOLPHIN
In vanilla, this particle is displayed as a trail of dolphins.Information:
- Appearance: A blue square.
- Speed value: Doesn't influence the particle.
-
DRAGON_BREATH
In vanilla, this particle is displayed by the ender dragons breath and ender fireballs.Information:
- Appearance: A purple cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
DRIP_LAVA
In vanilla, this particle is displayed randomly when a lava block is above a block. Information:- Appearance: Orange drop.
- Speed value: Doesn't influence the particle.
-
DRIP_WATER
In vanilla, this particle is displayed randomly when a water block is above a block.Information:
- Appearance: Blue drop.
- Speed value: Doesn't influence the particle.
-
DRIPPING_DRIPSTONE_LAVA
In vanilla, this particle is shown dripping from the tip of pointed dripstones.Information:
- Appearance: Orange drop.
- Speed value: Doesn't influence the particle.
-
DRIPPING_DRIPSTONE_WATER
In vanilla, this particle is shown dripping from the tip of pointed dripstones.Information:
- Appearance: Blue drop.
- Speed value: Doesn't influence the particle.
-
DRIPPING_HONEY
In vanilla, this particle is displayed by beehives filled with honey. As opposed to theFALLING_HONEYparticles, this particle floats in the air before falling to the ground.Information:
- Appearance: A rectangular honey drop.
- Speed value: Doesn't influence the particle.
- Extra: Spawns a
LANDING_HONEYparticle after landing on a block.
-
DRIPPING_OBSIDIAN_TEAR
In vanilla, this particle is displayed by crying obsidian.Information:
- Appearance: A rectangular obsidian tear.
- Speed value: Doesn't influence the particle.
- Extra: Spawns a
LANDING_OBSIDIAN_TEARparticle after landing on a block.
-
DUST_COLOR_TRANSITION
In vanilla, this particle is displayed when a sculk sensor is triggered.Information:
- Appearance: Tiny colored cloud that changes color.
- Speed value: Doesn't influence the particle.
- Extra: This particle supports 2 colors. It will display a fade animation between the two colors. It also
supports a custom size.
More information can be found here:
PropertyType.DUST,DustColorTransitionData
-
ELECTRIC_SPARK
In vanilla, this particle appears when a lightning bolt hits copper blocks.Information:
- Appearance: A small spark.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set.
-
ENCHANTMENT_TABLE
In vanilla, this particle is displayed by bookshelves near an enchanting table.Information:
- Appearance: A random letter from the galactic alphabet.
- Speed value: Influences the spread of this particle effect.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
END_ROD
In vanilla, this particle is displayed by end rods and shulker bullets.Information:
- Appearance: White circle.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
EXPLOSION_HUGE
In vanilla, this particle is displayed when tnt or creeper explodes.Information:
- Appearance: Gray ball which fades away after a few seconds.
- Speed value: Doesn't influence the particle.
-
EXPLOSION_LARGE
In vanilla, this particle is displayed when a fireball explodes or a wither skull hits a block/entity.Information:
- Appearance: Gray ball which fades away after a few seconds.
- Speed value: Doesn't influence the particle.
-
EXPLOSION_NORMAL
In vanilla, this particle is displayed when either a creeper or a tnt explodes.Information:
- Appearance: White smoke.
- Speed value: Influences the velocity at which the particle flies off.
-
FALLING_DRIPSTONE_LAVA
In vanilla, this particle is displayed afterDRIPPING_DRIPSTONE_LAVAstarts falling from pointed dripstones.Information:
- Appearance: Orange drop.
- Speed value: Doesn't influence the particle.
-
FALLING_DRIPSTONE_WATER
In vanilla, this particle is displayed afterDRIPPING_DRIPSTONE_WATERstarts falling from pointed dripstones.Information:
- Appearance: Blue drop.
- Speed value: Doesn't influence the particle.
-
FALLING_DUST
In vanilla, this particle is displayed randomly by floating sand and gravel.Information:
- Appearance: a circle part of a texture.
- Speed value: Doesn't influence the particle.
- Extra: This particle needs a block texture in order to work.
-
FALLING_HONEY
In vanilla, this particle is displayed below beehives filled with honey. As opposed to theDRIPPING_HONEYparticles, this particle falls instantly.Information:
- Appearance: A rectangular honey drop.
- Speed value: Doesn't influence the particle.
- Extra: Spawns a
LANDING_HONEYafter landing on a block.
-
FALLING_NECTAR
In vanilla, this particle is displayed by bees that have pollen and are on their way to the beehive.Information:
- Appearance: White square.
- Speed value: Doesn't influence the particle.
-
FALLING_OBSIDIAN_TEAR
In vanilla, this particle is displayed below crying obsidian blocks.Information:
- Appearance: Purple square.
- Speed value: Doesn't influence the particle.
-
FALLING_SPORE_BLOSSOM
In vanilla, this particle is displayed below spore blossoms.Information:
- Appearance: Green square.
- Speed value: Doesn't influence the particle.
-
FIREWORKS_SPARK
In vanilla, this particle is displayed when a firework is launched.Information:
- Appearance: Sparkling white star.
- Speed value: Influences the velocity at which the particle flies off.
-
FLAME
In vanilla, this particle is randomly displayed by torches, active furnaces,spawners and magma cubes.Information:
- Appearance: Tiny flame.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
FLASH
In vanilla, this particle is displayed by exploding fireworksInformation:
- Appearance: A white glow.
- Speed value: Doesn't influence the particle.
- Extra: The color of this flash can't be set since it's only set clientside.
-
FOOTSTEP
This particle is unused and is removed in the version 1.13.Information:
- Appearance: Low opacity gray square.
- Speed value: Doesn't influence the particle.
-
GLOW
In vanilla, this particle is displayed by a glow squid.Information:
- Appearance: Cyan star.
- Speed value: Doesn't seem to influence the particle.
- Extra: The velocity of this particle can be set. The amount has to be 0. Please note that this particle is barely moveable.
-
GLOW_SQUID_INK
In vanilla, this particle is displayed by a glow squid when it gets hurt.Information:
- Appearance: Cyan ink.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
HEART
In vanilla, this particle is displayed when taming or breeding animals.Information:
- Appearance: Red heart.
- Speed value: Doesn't influence the particle.
-
ITEM_CRACK
In vanilla, this particle is displayed when a tool is broken, an egg or a splash potion hits an entity or a block, It is also displayed when a player eats or an eye of ender breaks.Information:
- Appearance: Little piece of a texture.
- Extra:
- The velocity of this particle can be set. The amount has to be 0.
- This particle needs a item texture in order to work.
-
LANDING_HONEY
In vanilla, this particle is displayed after a falling or dripping Honey particle reaches a block.Information:
- Appearance: Honey colored lines.
- Speed value: Doesn't influence the particle.
- Extra: This Particle stays on the ground and doesn't instantly despawn.
-
LANDING_OBSIDIAN_TEAR
In vanilla, this particle is displayed after a falling or dripping obsidian tear reaches a block.Information:
- Appearance: Purple colored lines.
- Speed value: Doesn't influence the particle.
- Extra: This Particle stays on the ground and doesn't instantly despawn.
-
LAVA
In vanilla, this particle is randomly displayed by lava.Information:
- Appearance: Orange lava ball.
- Speed value: Doesn't influence the particle.
-
LIGHT
REPLACED BYBLOCK_MARKERSINCE 1.18In vanilla, this particle is displayed by the light block.
Information:
- Appearance: 1.17: four yellow stars. Since 1.18: A lightbulb
- Speed value: Doesn't influence the particle.
-
MOB_APPEARANCE
In vanilla, this particle is displayed by elder guardians.Information:
- Appearance: A elder guardian.
- Speed value: Doesn't influence the particle.
-
NAUTILUS
In vanilla, this particle is displayed by active conduits.Information:
- Appearance: Blue circle with a brown core.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
NOTE
In vanilla, this particle is displayed when rightclicking or activating a note block.Information:
- Appearance: Colored Note.
- Speed value: Causes the particle to be green when set to 0.
- Extra: the offsetX parameter represents which note should be displayed. The amount has to be 0 or the color won't work.
-
PORTAL
In vanilla, this particle is randomly displayed by nether portal, endermen, ender chests, dragon eggs, endermites and end gateway portals. It is also displayed when an ender pearl hits a block or an entity, when an eye of ender beaks or when the player eats a chorus fruit.Information:
- Appearance: Purple cloud.
- Speed value: Influences the spread of this particle effect.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
REDSTONE
In vanilla, this particle is randomly displayed by active redstone ore, active redstone, active redstone repeater and active redstone torches. Since 1.13 it is also displayed when pressing a button, activating a lever or stepping onto a pressure plateInformation:
- Appearance: Tiny colored cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: offsetX, offsetY and offsetZ represent the rgb values of the particle. The amount has to be 0 or the color won't work.
-
REVERSE_PORTAL
Currently Unused in vanilla. It's pretty much the same as the normal portal particle but instead of flying to the original location it flies away at the specified velocity.Information:
- Appearance: Purple Cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SCRAPE
In vanilla, this particle is displayed when oxidation is scraped off a copper block.Information:
- Appearance: Cyan star.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SCULK_CHARGE
Information:
- Appearance: Blue dust turning into a circle.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: You can use the
SculkChargeDataclass to change the roll of this particle. - Extra: The velocity of this particle can be set. The amount has to be 0.
-
SCULK_CHARGE_POP
Information:
- Appearance: A blue circle popping.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SCULK_SOUL
Information:
- Appearance: A blue soul.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SHRIEK
Information:
- Appearance: A blue circle flying up.
- Speed value: Doesn't influence the particle.
- Extra: You can set the delay before the particle appears using the
ShriekDataclass.
-
SLIME
In vanilla, this particle is displayed by jumping slimes.The particle originates from the nms EntitySlime class.
Information:
- Appearance: Tiny part of the slimeball icon.
- Speed value: Doesn't influence the particle.
-
SMALL_FLAME
Information:
- Appearance: A small flame.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SMOKE_LARGE
In vanilla, this particle is randomly displayed by fire, furnace minecarts and blazes. It's also displayed when trying to place water in the nether.The particle originates from the nms ItemBucket, EntityBlaze BlockFluids and EntityMinecart classes.
Information:
- Appearance: Large gray cloud.
- Speed value: Influences the velocity at which the particle flies off.
-
SMOKE_NORMAL
In vanilla, this particle is randomly displayed by primed tnt, torches, end portals, active brewing stands, monster spawners or when either a dropper or dispenser gets triggered. It's also displayed when taming a wild animal or an explosion occurs.Information:
- Appearance: Little gray cloud.
- Speed value: Influences the velocity at which the particle flies off.
-
SNEEZE
In vanilla, this particle is displayed by sneezing baby pandas.Information:
- Appearance: Green cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SNOWBALL
In vanilla, this particle is displayed when a snowball hits an entity or a block.Information:
- Appearance: Little peace of the snowball texture.
- Speed value: Doesn't influence the particle.
-
SNOWFLAKE
In vanilla, this particle is displayed when a player sinks in powder snow.Information:
- Appearance: A small white snowflake.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SNOW_SHOVEL
This particle is unused and is merged into "poof" in 1.13.Information:
- Appearance: Tiny white cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SONIC_BOOM
Information:
- Appearance: A blue explosion.
- Speed value: Doesn't influence the particle.
-
SOUL
In vanilla, this particle is displayed when a player walks on soulsand with the soul speed enchantment.Information:
- Appearance: A soul.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SOUL_FIRE_FLAME
In vanilla, this particle is displayed by soul torchesInformation:
- Appearance: Blue flame.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SPELL
In vanilla, this particle is displayed when a splash potion or an experience bottle hits a block or an entity. It's also displayed by evokers.Information:
- Appearance: White swirl.
- Speed value: Causes the particle to only fly up when set to 0.
- Extra: Only the motion on the y-axis can be controlled, the motion on the x- and z-axis are multiplied by 0.1 when setting the values to 0
-
SPELL_INSTANT
In vanilla, this particle is displayed when an instant splash potion (e.g. instant health) hits a block or an entity.Information:
- Appearance: White swirl.
- Speed value: Causes the particle to only fly up when set to 0.
- Extra: Only the motion on the y-axis can be controlled, the motion on the x- and z-axis are multiplied by 0.1 when setting the values to 0
-
SPELL_MOB
In vanilla, this particle is displayed when an entity has an active potion effect with the "ShowParticles" tag set to 1.Information:
- Appearance: colored swirl.
- Speed value: Represents the lightness of the color.
- Extra: offsetX, offsetY and offsetZ represent the rgb values of the particle. The amount has to be 0 or the color won't work.
-
SPELL_MOB_AMBIENT
In vanilla, this particle is displayed when an entity has an active potion effect from a nearby beacon.Information:
- Appearance: colored swirl.
- Speed value: Represents the lightness of the color.
- Extra: offsetX, offsetY and offsetZ represent the rgb values of the particle. The amount has to be 0 or the color won't work.
-
SPELL_WITCH
In vanilla, this particle is displayed randomly by witches.Information:
- Appearance: Purple cross.
- Speed value: Causes the particle to only fly up when set to 0.
- Extra: Only the motion on the y-axis can be controlled, the motion on the x- and z-axis are multiplied by 0.1 when setting the values to 0
-
SPIT
In vanilla, this particle is displayed by llamas while attacking an entity.Information:
- Appearance: White cloud.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SPORE_BLOSSOM_AIR
In vanilla, this particle is emitted around spore blossoms.Information:
- Appearance: Green square.
- Speed value: Doesn't influence the particle.
-
SQUID_INK
In vanilla, this particle is displayed when a squid gets damaged.Information:
- Appearance: Black ink.
- Speed value:Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
SUSPENDED
In vanilla, this particle is displayed randomly in water.Information:
- Appearance: Tiny blue square.
- Speed value: Doesn't influence the particle.
-
SUSPENDED_DEPTH
In vanilla, this particle is displayed when a player is close to bedrock or the void.Information:
- Appearance: Tiny gray square.
- Speed value: Doesn't influence the particle.
-
SWEEP_ATTACK
In vanilla, this particle is displayed when a Player hits multiple entities at once with a sword.Information:
- Appearance: A white curve.
- Speed value: Doesn't influence the particle.
- Extra: The size of this particle can be set in the offsetX parameter. The amount has to be 0 and the speed has to be 1.
-
TOTEM
In vanilla, this particle is displayed when a totem of undying is used.Information:
- Appearance: A green/yellow circle.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
TOWN_AURA
In vanilla, this particle is randomly displayed by mycelium blocks.Information:
- Appearance: Tiny gray square.
- Speed value: Doesn't influence the particle.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
VIBRATION
In vanilla, this particle is displayed when a sculk sensor is triggered.The vibration particle needs a lot of data in order to be displayed. Please have a look at the
VibrationDatadocumentation for more information.Information:
- Appearance: cyan wave.
- Speed value: Doesn't influence the particle.
- Extra: Takes a start and destination location. (More information:
VibrationData)
-
VILLAGER_ANGRY
In vanilla, this particle is displayed when attacking a village.Information:
- Appearance: Gray cloud with a lightning.
- Speed value: Doesn't influence the particle.
-
VILLAGER_HAPPY
In vanilla, this particle is displayed when trading with a villager, using bone meal on crops, feeding baby animals or walking on turtle eggs.Information:
- Appearance: Green star.
- Speed value: Doesn't influence the particle.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
WARPED_SPORE
In vanilla, this particle is displayed in the warped forest nether biome.Information:
- Appearance: Blue square.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: This Particle gets a random velocity up.
-
WATER_BUBBLE
In vanilla, this particle is displayed when an Entity is swimming in water, a projectile flies into the water or a fish bites onto the bait.Information:
- Appearance: Bubble with blue outline.
- Speed value: Doesn't influence the particle.
-
WATER_DROP
In vanilla, this particle is displayed when rain hits the ground.Information:
- Appearance: Blue droplet.
- Speed value: Doesn't influence the particle.
-
WATER_SPLASH
In vanilla, this particle is displayed when an Entity is swimming in water, wolves shaking off after swimming or boats.Information:
- Appearance: Blue droplet.
- Speed value: Influences the velocity at which the particle flies off.
-
WATER_WAKE
In vanilla, this particle is displayed when a fish bites onto the bait of a fishing rod.Information:
- Appearance: Tiny blue square.
- Speed value: Doesn't influence the particle.
-
WAX_OFF
In vanilla, this particle is displayed when wax is removed from a copper block.Information:
- Appearance: White star.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
WAX_ON
In vanilla, this particle is displayed when wax is applied to a copper block.Information:
- Appearance: Orange star.
- Speed value: Influences the velocity at which the particle flies off.
- Extra: The velocity of this particle can be set. The amount has to be 0.
-
WHITE_ASH
In vanilla, this particle is randomly displayed in the basalt deltas nether biome.The movement of this particle is handled completely clientside and can therefore not be influenced.
Information
- Appearance: White square
- Speed value: Doesn't influence the particle.
- Extra: This Particle gets a random velocity in the -x and -z directiont while falling down.
-
-
Field Details
-
VALUES
An array with allParticleEffects. -
NMS_EFFECTS
AHashMapto store the nms instances of all currently supportedParticleEffects.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-
getAvailableEffects
Returns a set of all effects that are available in the current version.- Returns:
- all available effects.
-
getFieldName
Applies theIntFunctiondefined in the constructor to get the respective name of the particle.- Returns:
- the
Stringname of the particle.
-
hasProperty
Checks if the currentParticleEffectinstance has a specificPropertyType.- Parameters:
propertyType- thePropertyTypethat should be searched.- Returns:
trueif the currentParticleEffectinstance supports the givenPropertyType.
-
isCorrectData
Checks if the currentParticleEffectinstance supports the givenParticleData.- Parameters:
data- theParticleDatathat should be checked.- Returns:
trueif the current instance supports the givenParticleData.
-
isCorrectColor
Checks if the currentParticleEffectinstance needs the givenParticleColor.Note: Use
NoteColorfor the color of notes.- Parameters:
color- theParticleColordata that should be checked.- Returns:
trueif the current instance supports the givenParticleColor.
-
getNMSObject
Gets the nms instance of the currentParticleEffectinstance.- Returns:
- The NMS instance or
nullif the particle isn't supported in the current minecraft version.
-
display
public void display(org.bukkit.Location location, ParticleColor color, org.bukkit.entity.Player... players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theParticleColorthe particle should have.players- a list of players that should receive the particle packet.
-
display
Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theColorthe particle should have.players- a list of players that should receive the particle packet.
-
display
Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theParticleColorthe particle should have.filter- aPredicateto filter out specificPlayers.
-
display
Displays the currentParticleEffect. -
display
public void display(org.bukkit.Location location, ParticleColor color, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theParticleColorthe particle should have.players- aCollectionof players that should receive the particle packet.
-
display
public void display(org.bukkit.Location location, Color color, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theColorthe particle should have.players- aCollectionof players that should receive the particle packet.
-
display
Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theParticleColorthe particle should have.
-
display
Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.color- theColorthe particle should have.
-
display
public void display(org.bukkit.Location location, org.bukkit.entity.Player... players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.players- a list of players that should receive the particle packet.
-
display
Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.filter- aPredicateto filter out specificPlayers.
-
display
public void display(org.bukkit.Location location, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.players- aCollectionof players that should receive the particle packet.
-
display
public void display(org.bukkit.Location location) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.
-
display
public void display(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, org.bukkit.entity.Player... players) Displays the currentParticleEffect.- Parameters:
location- theLocationat whichvector- the velocity at which the particle should fly off. the multiplier of the particle velocity.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.players- a list of players that should receive the particle packet.
-
display
public void display(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, Predicate filter) Displays the currentParticleEffect.- Parameters:
location- theLocationat whichvector- the velocity at which the particle should fly off. the multiplier of the particle velocity.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.filter- aPredicateto filter out specificPlayers.
-
display
public void display(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.- Parameters:
location- theLocationat whichvector- the velocity at which the particle should fly off. the multiplier of the particle velocity.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.players- aCollectionof players that should receive the particle packet.
-
display
public void display(org.bukkit.Location location, org.bukkit.util.Vector vector, float speed, int amount, ParticleData data) Displays the currentParticleEffect.- Parameters:
location- theLocationat whichvector- the velocity at which the particle should fly off. the multiplier of the particle velocity.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.
-
display
public void display(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, org.bukkit.entity.Player... players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.offsetX- the offsetX data of the particle.offsetY- the offsetY data of the particle.offsetZ- the offsetZ data of the particle.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.players- a list of players that should receive the particle packet.
-
display
public void display(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, Predicate<org.bukkit.entity.Player> filter) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.offsetX- the offsetX data of the particle.offsetY- the offsetY data of the particle.offsetZ- the offsetZ data of the particle.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.filter- aPredicateto filter out specificPlayers.
-
display
public void display(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.offsetX- the offsetX data of the particle.offsetY- the offsetY data of the particle.offsetZ- the offsetZ data of the particle.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle should have.
-
display
public void display(org.bukkit.Location location, float offsetX, float offsetY, float offsetZ, float speed, int amount, ParticleData data, Collection<? extends org.bukkit.entity.Player> players) Displays the currentParticleEffect.- Parameters:
location- theLocationat which the particle should be displayed.offsetX- the offsetX data of the particle.offsetY- the offsetY data of the particle.offsetZ- the offsetZ data of the particle.speed- the multiplier of the particle velocity.amount- the amount of particles that should be displayed.data- theParticleDatathe particle /should have.players- aCollectionof players that should receive the particle packet.
-