Package org.bukkit
Enum Class Particle
- All Implemented Interfaces:
Serializable
,Comparable<Particle>
,Constable
,net.kyori.adventure.key.Keyed
,Keyed
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Options which can be applied to redstone dust particles - a particle color and size.static class
Options which can be applied to a color transitioning dust particles.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsesBlockData
as DataTypeDeprecated.UsesBlockData
as DataTypeUsesParticle.DustTransition
as DataTypeUsesBlockData
as DataTypeUsesItemStack
as DataTypeDeprecated.MaterialData
is deprecated APIDeprecated.MaterialData
is deprecated APIDeprecated.MaterialData
is deprecated APIUsesParticle.DustOptions
as DataTypeUseFloat
as DataTypeUseInteger
as DataTypeUsesVibration
as DataType -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates aParticleBuilder
Returns the required data type for the particlegetKey()
Return the namespaced identifier for this object.static Particle
Returns 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
-
EXPLOSION_NORMAL
-
EXPLOSION_LARGE
-
EXPLOSION_HUGE
-
FIREWORKS_SPARK
-
WATER_BUBBLE
-
WATER_SPLASH
-
WATER_WAKE
-
SUSPENDED
-
SUSPENDED_DEPTH
-
CRIT
-
CRIT_MAGIC
-
SMOKE_NORMAL
-
SMOKE_LARGE
-
SPELL
-
SPELL_INSTANT
-
SPELL_MOB
-
SPELL_MOB_AMBIENT
-
SPELL_WITCH
-
DRIP_WATER
-
DRIP_LAVA
-
VILLAGER_ANGRY
-
VILLAGER_HAPPY
-
TOWN_AURA
-
NOTE
-
PORTAL
-
ENCHANTMENT_TABLE
-
FLAME
-
LAVA
-
CLOUD
-
REDSTONE
UsesParticle.DustOptions
as DataType -
SNOWBALL
-
SNOW_SHOVEL
-
SLIME
-
HEART
-
ITEM_CRACK
UsesItemStack
as DataType -
BLOCK_CRACK
UsesBlockData
as DataType -
BLOCK_DUST
Deprecated.useBLOCK_CRACK
UsesBlockData
as DataType -
WATER_DROP
-
MOB_APPEARANCE
-
DRAGON_BREATH
-
END_ROD
-
DAMAGE_INDICATOR
-
SWEEP_ATTACK
-
FALLING_DUST
UsesBlockData
as DataType -
TOTEM
-
SPIT
-
SQUID_INK
-
BUBBLE_POP
-
CURRENT_DOWN
-
BUBBLE_COLUMN_UP
-
NAUTILUS
-
DOLPHIN
-
SNEEZE
-
CAMPFIRE_COSY_SMOKE
-
CAMPFIRE_SIGNAL_SMOKE
-
COMPOSTER
-
FLASH
-
FALLING_LAVA
-
LANDING_LAVA
-
FALLING_WATER
-
DRIPPING_HONEY
-
FALLING_HONEY
-
LANDING_HONEY
-
FALLING_NECTAR
-
SOUL_FIRE_FLAME
-
ASH
-
CRIMSON_SPORE
-
WARPED_SPORE
-
SOUL
-
DRIPPING_OBSIDIAN_TEAR
-
FALLING_OBSIDIAN_TEAR
-
LANDING_OBSIDIAN_TEAR
-
REVERSE_PORTAL
-
WHITE_ASH
-
DUST_COLOR_TRANSITION
UsesParticle.DustTransition
as DataType -
VIBRATION
UsesVibration
as DataType -
FALLING_SPORE_BLOSSOM
-
SPORE_BLOSSOM_AIR
-
SMALL_FLAME
-
SNOWFLAKE
-
DRIPPING_DRIPSTONE_LAVA
-
FALLING_DRIPSTONE_LAVA
-
DRIPPING_DRIPSTONE_WATER
-
FALLING_DRIPSTONE_WATER
-
GLOW_SQUID_INK
-
GLOW
-
WAX_ON
-
WAX_OFF
-
ELECTRIC_SPARK
-
SCRAPE
-
SONIC_BOOM
-
SCULK_SOUL
-
SCULK_CHARGE
UseFloat
as DataType -
SCULK_CHARGE_POP
-
SHRIEK
UseInteger
as DataType -
CHERRY_LEAVES
-
EGG_CRACK
-
DUST_PLUME
-
WHITE_SMOKE
-
GUST
-
GUST_EMITTER
-
GUST_DUST
-
TRIAL_SPAWNER_DETECTION
-
BLOCK_MARKER
UsesBlockData
as DataType -
LEGACY_BLOCK_CRACK
Deprecated.MaterialData
is deprecated APIUsesMaterialData
as DataType -
LEGACY_BLOCK_DUST
Deprecated.MaterialData
is deprecated APIUsesMaterialData
as DataType -
LEGACY_FALLING_DUST
Deprecated.MaterialData
is deprecated APIUsesMaterialData
as DataType
-
-
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
Returns the required data type for the particle- Returns:
- the required data type
-
getKey
Description copied from interface:Keyed
Return the namespaced identifier for this object. -
builder
Creates aParticleBuilder
- Returns:
- a
ParticleBuilder
for the particle
-
BLOCK_CRACK