Package org.bukkit

Enum Class Particle

All Implemented Interfaces:
Serializable, Comparable<Particle>, Constable, Keyed, Keyed

public enum Particle extends Enum<Particle> implements Keyed
  • Enum Constant Details

    • POOF

      public static final Particle POOF
    • EXPLOSION

      public static final Particle EXPLOSION
    • EXPLOSION_EMITTER

      public static final Particle EXPLOSION_EMITTER
    • FIREWORK

      public static final Particle FIREWORK
    • BUBBLE

      public static final Particle BUBBLE
    • SPLASH

      public static final Particle SPLASH
    • FISHING

      public static final Particle FISHING
    • UNDERWATER

      public static final Particle UNDERWATER
    • CRIT

      public static final Particle CRIT
    • ENCHANTED_HIT

      public static final Particle ENCHANTED_HIT
    • SMOKE

      public static final Particle SMOKE
    • LARGE_SMOKE

      public static final Particle LARGE_SMOKE
    • EFFECT

      public static final Particle EFFECT
    • INSTANT_EFFECT

      public static final Particle INSTANT_EFFECT
    • ENTITY_EFFECT

      public static final Particle ENTITY_EFFECT
      Uses Color as DataType
    • WITCH

      public static final Particle WITCH
    • DRIPPING_WATER

      public static final Particle DRIPPING_WATER
    • DRIPPING_LAVA

      public static final Particle DRIPPING_LAVA
    • ANGRY_VILLAGER

      public static final Particle ANGRY_VILLAGER
    • HAPPY_VILLAGER

      public static final Particle HAPPY_VILLAGER
    • MYCELIUM

      public static final Particle MYCELIUM
    • NOTE

      public static final Particle NOTE
    • PORTAL

      public static final Particle PORTAL
    • ENCHANT

      public static final Particle ENCHANT
    • FLAME

      public static final Particle FLAME
    • LAVA

      public static final Particle LAVA
    • CLOUD

      public static final Particle CLOUD
    • DUST

      public static final Particle DUST
      Uses Particle.DustOptions as DataType
    • ITEM_SNOWBALL

      public static final Particle ITEM_SNOWBALL
    • ITEM_SLIME

      public static final Particle ITEM_SLIME
    • HEART

      public static final Particle HEART
    • ITEM

      public static final Particle ITEM
      Uses ItemStack as DataType
    • BLOCK

      public static final Particle BLOCK
      Uses BlockData as DataType
    • RAIN

      public static final Particle RAIN
    • ELDER_GUARDIAN

      public static final Particle ELDER_GUARDIAN
    • DRAGON_BREATH

      public static final Particle DRAGON_BREATH
    • END_ROD

      public static final Particle END_ROD
    • DAMAGE_INDICATOR

      public static final Particle DAMAGE_INDICATOR
    • SWEEP_ATTACK

      public static final Particle SWEEP_ATTACK
    • FALLING_DUST

      public static final Particle FALLING_DUST
      Uses BlockData as DataType
    • TOTEM_OF_UNDYING

      public static final Particle TOTEM_OF_UNDYING
    • SPIT

      public static final Particle SPIT
    • SQUID_INK

      public static final Particle SQUID_INK
    • BUBBLE_POP

      public static final Particle BUBBLE_POP
    • CURRENT_DOWN

      public static final Particle CURRENT_DOWN
    • BUBBLE_COLUMN_UP

      public static final Particle BUBBLE_COLUMN_UP
    • NAUTILUS

      public static final Particle NAUTILUS
    • DOLPHIN

      public static final Particle DOLPHIN
    • SNEEZE

      public static final Particle SNEEZE
    • CAMPFIRE_COSY_SMOKE

      public static final Particle CAMPFIRE_COSY_SMOKE
    • CAMPFIRE_SIGNAL_SMOKE

      public static final Particle CAMPFIRE_SIGNAL_SMOKE
    • COMPOSTER

      public static final Particle COMPOSTER
    • FLASH

      public static final Particle FLASH
    • FALLING_LAVA

      public static final Particle FALLING_LAVA
    • LANDING_LAVA

      public static final Particle LANDING_LAVA
    • FALLING_WATER

      public static final Particle FALLING_WATER
    • DRIPPING_HONEY

      public static final Particle DRIPPING_HONEY
    • FALLING_HONEY

      public static final Particle FALLING_HONEY
    • LANDING_HONEY

      public static final Particle LANDING_HONEY
    • FALLING_NECTAR

      public static final Particle FALLING_NECTAR
    • SOUL_FIRE_FLAME

      public static final Particle SOUL_FIRE_FLAME
    • ASH

      public static final Particle ASH
    • CRIMSON_SPORE

      public static final Particle CRIMSON_SPORE
    • WARPED_SPORE

      public static final Particle WARPED_SPORE
    • SOUL

      public static final Particle SOUL
    • DRIPPING_OBSIDIAN_TEAR

      public static final Particle DRIPPING_OBSIDIAN_TEAR
    • FALLING_OBSIDIAN_TEAR

      public static final Particle FALLING_OBSIDIAN_TEAR
    • LANDING_OBSIDIAN_TEAR

      public static final Particle LANDING_OBSIDIAN_TEAR
    • REVERSE_PORTAL

      public static final Particle REVERSE_PORTAL
    • WHITE_ASH

      public static final Particle WHITE_ASH
    • DUST_COLOR_TRANSITION

      public static final Particle DUST_COLOR_TRANSITION
      Uses Particle.DustTransition as DataType
    • VIBRATION

      public static final Particle VIBRATION
      Uses Vibration as DataType
    • FALLING_SPORE_BLOSSOM

      public static final Particle FALLING_SPORE_BLOSSOM
    • SPORE_BLOSSOM_AIR

      public static final Particle SPORE_BLOSSOM_AIR
    • SMALL_FLAME

      public static final Particle SMALL_FLAME
    • SNOWFLAKE

      public static final Particle SNOWFLAKE
    • DRIPPING_DRIPSTONE_LAVA

      public static final Particle DRIPPING_DRIPSTONE_LAVA
    • FALLING_DRIPSTONE_LAVA

      public static final Particle FALLING_DRIPSTONE_LAVA
    • DRIPPING_DRIPSTONE_WATER

      public static final Particle DRIPPING_DRIPSTONE_WATER
    • FALLING_DRIPSTONE_WATER

      public static final Particle FALLING_DRIPSTONE_WATER
    • GLOW_SQUID_INK

      public static final Particle GLOW_SQUID_INK
    • GLOW

      public static final Particle GLOW
    • WAX_ON

      public static final Particle WAX_ON
    • WAX_OFF

      public static final Particle WAX_OFF
    • ELECTRIC_SPARK

      public static final Particle ELECTRIC_SPARK
    • SCRAPE

      public static final Particle SCRAPE
    • SONIC_BOOM

      public static final Particle SONIC_BOOM
    • SCULK_SOUL

      public static final Particle SCULK_SOUL
    • SCULK_CHARGE

      public static final Particle SCULK_CHARGE
      Use Float as DataType
    • SCULK_CHARGE_POP

      public static final Particle SCULK_CHARGE_POP
    • SHRIEK

      public static final Particle SHRIEK
      Use Integer as DataType
    • CHERRY_LEAVES

      public static final Particle CHERRY_LEAVES
    • EGG_CRACK

      public static final Particle EGG_CRACK
    • DUST_PLUME

      public static final Particle DUST_PLUME
    • WHITE_SMOKE

      public static final Particle WHITE_SMOKE
    • GUST

      public static final Particle GUST
    • SMALL_GUST

      public static final Particle SMALL_GUST
    • GUST_EMITTER_LARGE

      public static final Particle GUST_EMITTER_LARGE
    • GUST_EMITTER_SMALL

      public static final Particle GUST_EMITTER_SMALL
    • TRIAL_SPAWNER_DETECTION

      public static final Particle TRIAL_SPAWNER_DETECTION
    • TRIAL_SPAWNER_DETECTION_OMINOUS

      public static final Particle TRIAL_SPAWNER_DETECTION_OMINOUS
    • VAULT_CONNECTION

      public static final Particle VAULT_CONNECTION
    • INFESTED

      public static final Particle INFESTED
    • ITEM_COBWEB

      public static final Particle ITEM_COBWEB
    • DUST_PILLAR

      public static final Particle DUST_PILLAR
      Uses BlockData as DataType
    • BLOCK_CRUMBLE

      @Experimental public static final Particle BLOCK_CRUMBLE
      Uses BlockData as DataType
    • TRAIL

      @Experimental public static final Particle TRAIL
      Uses Particle.TargetColor as DataType
    • OMINOUS_SPAWNING

      public static final Particle OMINOUS_SPAWNING
    • RAID_OMEN

      public static final Particle RAID_OMEN
    • TRIAL_OMEN

      public static final Particle TRIAL_OMEN
    • BLOCK_MARKER

      public static final Particle BLOCK_MARKER
      Uses BlockData as DataType
  • Method Details

    • values

      public static Particle[] 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

      public static Particle valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDataType

      @NotNull public @NotNull Class<?> getDataType()
      Returns the required data type for the particle
      Returns:
      the required data type
    • getKey

      @NotNull public @NotNull NamespacedKey getKey()
      Description copied from interface: Keyed
      Return the namespaced identifier for this object.
      Specified by:
      getKey in interface Keyed
      Returns:
      this object's key
    • builder

      @NotNull public ParticleBuilder builder()
      Creates a ParticleBuilder
      Returns:
      a ParticleBuilder for the particle