Package org.bukkit
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 java.lang.Enum
Enum.EnumDesc<E extends Enum<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
-
EXPLOSION
-
EXPLOSION_EMITTER
-
FIREWORK
-
BUBBLE
-
SPLASH
-
FISHING
-
UNDERWATER
-
CRIT
-
ENCHANTED_HIT
-
SMOKE
-
LARGE_SMOKE
-
EFFECT
UsesParticle.Spellas DataType -
INSTANT_EFFECT
UsesParticle.Spellas DataType -
ENTITY_EFFECT
UsesColoras DataType (with alpha support) -
WITCH
-
DRIPPING_WATER
-
DRIPPING_LAVA
-
ANGRY_VILLAGER
-
HAPPY_VILLAGER
-
MYCELIUM
-
NOTE
-
PORTAL
-
ENCHANT
-
FLAME
-
LAVA
-
CLOUD
-
DUST
UsesParticle.DustOptionsas DataType -
ITEM_SNOWBALL
-
ITEM_SLIME
-
HEART
-
ITEM
UsesItemStackas DataType -
BLOCK
UsesBlockDataas DataType -
RAIN
-
ELDER_GUARDIAN
-
DRAGON_BREATH
UsesFloatas DataType, for the power of the breath -
END_ROD
-
DAMAGE_INDICATOR
-
SWEEP_ATTACK
-
FALLING_DUST
UsesBlockDataas DataType -
TOTEM_OF_UNDYING
-
SPIT
-
SQUID_INK
-
BUBBLE_POP
-
CURRENT_DOWN
-
BUBBLE_COLUMN_UP
-
NAUTILUS
-
DOLPHIN
-
SNEEZE
-
CAMPFIRE_COSY_SMOKE
-
CAMPFIRE_SIGNAL_SMOKE
-
COMPOSTER
-
FLASH
UsesColoras DataType -
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.DustTransitionas DataType -
VIBRATION
UsesVibrationas 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
UsesFloatas DataType, the angle in radians -
SCULK_CHARGE_POP
-
SHRIEK
UsesIntegeras DataType -
CHERRY_LEAVES
-
PALE_OAK_LEAVES
-
TINTED_LEAVES
UsesColoras DataType -
EGG_CRACK
-
DUST_PLUME
-
WHITE_SMOKE
-
GUST
-
SMALL_GUST
-
GUST_EMITTER_LARGE
-
GUST_EMITTER_SMALL
-
TRIAL_SPAWNER_DETECTION
-
TRIAL_SPAWNER_DETECTION_OMINOUS
-
VAULT_CONNECTION
-
INFESTED
-
ITEM_COBWEB
-
DUST_PILLAR
UsesBlockDataas DataType -
BLOCK_CRUMBLE
UsesBlockDataas DataType -
FIREFLY
-
TRAIL
UsesParticle.Trailas DataType -
OMINOUS_SPAWNING
-
RAID_OMEN
-
TRIAL_OMEN
-
BLOCK_MARKER
UsesBlockDataas DataType -
COPPER_FIRE_FLAME
-
-
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:KeyedReturn the namespaced identifier for this object. -
builder
Creates aParticleBuilder- Returns:
- a
ParticleBuilderfor the particle
-