程序包 org.bukkit

# 枚举 Particle

java.lang.Object
java.lang.Enum<Particle>
org.bukkit.Particle

所有已实现的接口:
  `Serializable`, `Comparable<Particle>`, `Constable`, `Keyed`

public enum Particle extends Enum<Particle> implements Keyed

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static class`
  `Particle.DustOptions`
  Options which can be applied to redstone dust particles - a particle color and size.
  `static class`
  `Particle.DustTransition`
  Options which can be applied to a color transitioning dust particles.

  ## 从类继承的嵌套类/接口 java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## 枚举常量概要

  枚举常量
  枚举常量
  说明
  `ANGRY_VILLAGER`
  `ASH`
  `BLOCK`
  Uses `BlockData` as DataType
  `BLOCK_MARKER`
  Uses `BlockData` as DataType
  `BUBBLE`
  `BUBBLE_COLUMN_UP`
  `BUBBLE_POP`
  `CAMPFIRE_COSY_SMOKE`
  `CAMPFIRE_SIGNAL_SMOKE`
  `CHERRY_LEAVES`
  `CLOUD`
  `COMPOSTER`
  `CRIMSON_SPORE`
  `CRIT`
  `CURRENT_DOWN`
  `DAMAGE_INDICATOR`
  `DOLPHIN`
  `DRAGON_BREATH`
  `DRIPPING_DRIPSTONE_LAVA`
  `DRIPPING_DRIPSTONE_WATER`
  `DRIPPING_HONEY`
  `DRIPPING_LAVA`
  `DRIPPING_OBSIDIAN_TEAR`
  `DRIPPING_WATER`
  `DUST`
  Uses `Particle.DustOptions` as DataType
  `DUST_COLOR_TRANSITION`
  Uses `Particle.DustTransition` as DataType
  `DUST_PILLAR`
  Uses `BlockData` as DataType
  `DUST_PLUME`
  `EFFECT`
  `EGG_CRACK`
  `ELDER_GUARDIAN`
  `ELECTRIC_SPARK`
  `ENCHANT`
  `ENCHANTED_HIT`
  `END_ROD`
  `ENTITY_EFFECT`
  Uses `Color` as DataType
  `EXPLOSION`
  `EXPLOSION_EMITTER`
  `FALLING_DRIPSTONE_LAVA`
  `FALLING_DRIPSTONE_WATER`
  `FALLING_DUST`
  Uses `BlockData` as DataType
  `FALLING_HONEY`
  `FALLING_LAVA`
  `FALLING_NECTAR`
  `FALLING_OBSIDIAN_TEAR`
  `FALLING_SPORE_BLOSSOM`
  `FALLING_WATER`
  `FIREWORK`
  `FISHING`
  `FLAME`
  `FLASH`
  `GLOW`
  `GLOW_SQUID_INK`
  `GUST`
  `GUST_EMITTER_LARGE`
  `GUST_EMITTER_SMALL`
  `HAPPY_VILLAGER`
  `HEART`
  `INFESTED`
  `INSTANT_EFFECT`
  `ITEM`
  Uses `ItemStack` as DataType
  `ITEM_COBWEB`
  `ITEM_SLIME`
  `ITEM_SNOWBALL`
  `LANDING_HONEY`
  `LANDING_LAVA`
  `LANDING_OBSIDIAN_TEAR`
  `LARGE_SMOKE`
  `LAVA`
  `MYCELIUM`
  `NAUTILUS`
  `NOTE`
  `OMINOUS_SPAWNING`
  `POOF`
  `PORTAL`
  `RAID_OMEN`
  `RAIN`
  `REVERSE_PORTAL`
  `SCRAPE`
  `SCULK_CHARGE`
  Use `Float` as DataType
  `SCULK_CHARGE_POP`
  `SCULK_SOUL`
  `SHRIEK`
  Use `Integer` as DataType
  `SMALL_FLAME`
  `SMALL_GUST`
  `SMOKE`
  `SNEEZE`
  `SNOWFLAKE`
  `SONIC_BOOM`
  `SOUL`
  `SOUL_FIRE_FLAME`
  `SPIT`
  `SPLASH`
  `SPORE_BLOSSOM_AIR`
  `SQUID_INK`
  `SWEEP_ATTACK`
  `TOTEM_OF_UNDYING`
  `TRIAL_OMEN`
  `TRIAL_SPAWNER_DETECTION`
  `TRIAL_SPAWNER_DETECTION_OMINOUS`
  `UNDERWATER`
  `VAULT_CONNECTION`
  `VIBRATION`
  Uses `Vibration` as DataType
  `WARPED_SPORE`
  `WAX_OFF`
  `WAX_ON`
  `WHITE_ASH`
  `WHITE_SMOKE`
  `WITCH`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Class<?>`
  `getDataType()`
  Returns the required data type for the particle
  `@NotNull NamespacedKey`
  `getKey()`
  返回用于此对象的命名空间标识符.
  `static Particle`
  `valueOf(String name)`
  返回带有指定名称的该类型的枚举常量。
  `static Particle[]`
  `values()`
  按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。

  ### 从类继承的方法 java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### 从类继承的方法 java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 枚举常量详细资料

  - ### 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

  - ### 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

- ## 方法详细资料

  - ### values

    public static Particle[] values()
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
    返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

  - ### valueOf

    public static Particle valueOf(String name)
    返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
    参数:
      `name` - 要返回的枚举常量的名称。
    返回:
      返回带有指定名称的枚举常量
    抛出:
      `IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
      `NullPointerException` - 如果参数为空值

  - ### getDataType

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

  - ### getKey

    @NotNull public @NotNull NamespacedKey getKey()
    从接口复制的说明: `Keyed`
    返回用于此对象的命名空间标识符.

    原文:Return the namespaced identifier for this object.

    指定者:
      `getKey` 在接口中 `Keyed`
    返回:
      标识此对象的 key