Enum Class Particle
- All Implemented Interfaces:
Serializable, Comparable<Particle>, Constable, Keyed, Keyed
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classOptions which can be applied to dust particles - a particle color and size.static classOptions which can be applied to a color transitioning dust particles.static classstatic classOptions which can be applied to trail particles - a location, color and duration.Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsesBlockDataas DataTypeUsesBlockDataas DataTypeUsesBlockDataas DataTypeUsesFloatas DataType, for the power of the breathUsesParticle.DustOptionsas DataTypeUsesParticle.DustTransitionas DataTypeUsesBlockDataas DataTypeUsesParticle.Spellas DataTypeUsesColoras DataType (with alpha support)UsesBlockDataas DataTypeUsesColoras DataTypeUsesParticle.Spellas DataTypeUsesItemStackas DataTypeUsesFloatas DataType, the angle in radiansUsesIntegeras DataTypeUsesColoras DataTypeUsesParticle.Trailas DataTypeUsesVibrationas DataType -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates aParticleBuilderReturns the required data type for the particlegetKey()Return the namespaced identifier for this object.static ParticleReturns the enum constant of this class with the specified name.static Particle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POOF
- Since:
- 1.20.6
-
EXPLOSION
- Since:
- 1.20.6
-
EXPLOSION_EMITTER
- Since:
- 1.20.6
-
FIREWORK
- Since:
- 1.20.6
-
BUBBLE
- Since:
- 1.20.6
-
SPLASH
- Since:
- 1.20.6
-
FISHING
- Since:
- 1.20.6
-
UNDERWATER
- Since:
- 1.20.6
-
CRIT
- Since:
- 1.9.4
-
ENCHANTED_HIT
- Since:
- 1.20.6
-
SMOKE
- Since:
- 1.20.6
-
LARGE_SMOKE
- Since:
- 1.20.6
-
EFFECT
-
INSTANT_EFFECT
-
ENTITY_EFFECT
-
WITCH
- Since:
- 1.20.6
-
DRIPPING_WATER
- Since:
- 1.20.6
-
DRIPPING_LAVA
- Since:
- 1.20.6
-
ANGRY_VILLAGER
- Since:
- 1.20.6
-
HAPPY_VILLAGER
- Since:
- 1.20.6
-
MYCELIUM
- Since:
- 1.20.6
-
NOTE
- Since:
- 1.9.4
-
PORTAL
- Since:
- 1.9.4
-
ENCHANT
- Since:
- 1.20.6
-
FLAME
- Since:
- 1.9.4
-
LAVA
- Since:
- 1.9.4
-
CLOUD
- Since:
- 1.9.4
-
DUST
-
ITEM_SNOWBALL
- Since:
- 1.20.6
-
ITEM_SLIME
- Since:
- 1.20.6
-
HEART
- Since:
- 1.9.4
-
ITEM
-
BLOCK
-
RAIN
- Since:
- 1.20.6
-
ELDER_GUARDIAN
- Since:
- 1.20.6
-
DRAGON_BREATH
-
END_ROD
- Since:
- 1.9.4
-
DAMAGE_INDICATOR
- Since:
- 1.9.4
-
SWEEP_ATTACK
- Since:
- 1.9.4
-
FALLING_DUST
-
TOTEM_OF_UNDYING
- Since:
- 1.20.6
-
SPIT
- Since:
- 1.11
-
SQUID_INK
- Since:
- 1.13
-
BUBBLE_POP
- Since:
- 1.13
-
CURRENT_DOWN
- Since:
- 1.13
-
BUBBLE_COLUMN_UP
- Since:
- 1.13
-
NAUTILUS
- Since:
- 1.13
-
DOLPHIN
- Since:
- 1.13
-
SNEEZE
- Since:
- 1.14
-
CAMPFIRE_COSY_SMOKE
- Since:
- 1.14
-
CAMPFIRE_SIGNAL_SMOKE
- Since:
- 1.14
-
COMPOSTER
- Since:
- 1.14
-
FLASH
-
FALLING_LAVA
- Since:
- 1.14
-
LANDING_LAVA
- Since:
- 1.14
-
FALLING_WATER
- Since:
- 1.14
-
DRIPPING_HONEY
- Since:
- 1.15
-
FALLING_HONEY
- Since:
- 1.15
-
LANDING_HONEY
- Since:
- 1.15
-
FALLING_NECTAR
- Since:
- 1.15
-
SOUL_FIRE_FLAME
- Since:
- 1.16.1
-
ASH
- Since:
- 1.16.1
-
CRIMSON_SPORE
- Since:
- 1.16.1
-
WARPED_SPORE
- Since:
- 1.16.1
-
SOUL
- Since:
- 1.16.1
-
DRIPPING_OBSIDIAN_TEAR
- Since:
- 1.16.1
-
FALLING_OBSIDIAN_TEAR
- Since:
- 1.16.1
-
LANDING_OBSIDIAN_TEAR
- Since:
- 1.16.1
-
REVERSE_PORTAL
- Since:
- 1.16.1
-
WHITE_ASH
- Since:
- 1.16.1
-
DUST_COLOR_TRANSITION
UsesParticle.DustTransitionas DataType- Since:
- 1.17
-
VIBRATION
-
FALLING_SPORE_BLOSSOM
- Since:
- 1.17
-
SPORE_BLOSSOM_AIR
- Since:
- 1.17
-
SMALL_FLAME
- Since:
- 1.17
-
SNOWFLAKE
- Since:
- 1.17
-
DRIPPING_DRIPSTONE_LAVA
- Since:
- 1.17
-
FALLING_DRIPSTONE_LAVA
- Since:
- 1.17
-
DRIPPING_DRIPSTONE_WATER
- Since:
- 1.17
-
FALLING_DRIPSTONE_WATER
- Since:
- 1.17
-
GLOW_SQUID_INK
- Since:
- 1.17
-
GLOW
- Since:
- 1.17
-
WAX_ON
- Since:
- 1.17
-
WAX_OFF
- Since:
- 1.17
-
ELECTRIC_SPARK
- Since:
- 1.17
-
SCRAPE
- Since:
- 1.17
-
SONIC_BOOM
- Since:
- 1.19
-
SCULK_SOUL
- Since:
- 1.19
-
SCULK_CHARGE
-
SCULK_CHARGE_POP
- Since:
- 1.19
-
SHRIEK
-
CHERRY_LEAVES
- Since:
- 1.20
-
PALE_OAK_LEAVES
- Since:
- 1.21.4
-
TINTED_LEAVES
-
EGG_CRACK
- Since:
- 1.20
-
DUST_PLUME
- Since:
- 1.20.4
-
WHITE_SMOKE
- Since:
- 1.20.4
-
GUST
- Since:
- 1.20.4
-
SMALL_GUST
- Since:
- 1.20.6
-
GUST_EMITTER_LARGE
- Since:
- 1.20.6
-
GUST_EMITTER_SMALL
- Since:
- 1.20.6
-
TRIAL_SPAWNER_DETECTION
- Since:
- 1.20.4
-
TRIAL_SPAWNER_DETECTION_OMINOUS
- Since:
- 1.20.6
-
VAULT_CONNECTION
- Since:
- 1.20.6
-
INFESTED
- Since:
- 1.20.6
-
ITEM_COBWEB
- Since:
- 1.20.6
-
DUST_PILLAR
-
BLOCK_CRUMBLE
-
FIREFLY
- Since:
- 1.21.6
-
TRAIL
-
OMINOUS_SPAWNING
- Since:
- 1.20.6
-
RAID_OMEN
- Since:
- 1.20.6
-
TRIAL_OMEN
- Since:
- 1.20.6
-
BLOCK_MARKER
-
COPPER_FIRE_FLAME
- Since:
- 1.21.10
-
PAUSE_MOB_GROWTH
- Since:
- 26.1.2
-
RESET_MOB_GROWTH
- Since:
- 26.1.2
-
-
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
-
getDataType
-
getKey
-
builder
Creates aParticleBuilder- Returns:
- a
ParticleBuilderfor the particle - Since:
- 1.12.2
-