Serializable
, Comparable<Particle>
public enum Particle extends Enum<Particle>
Modifier and Type | Class | Description |
---|---|---|
static class |
Particle.DustOptions |
Options which can be applied to redstone dust particles - a particle
color and size.
|
Modifier and Type | Method | Description |
---|---|---|
ParticleBuilder |
builder() |
Creates a
ParticleBuilder |
Class<?> |
getDataType() |
Returns the required data type for the particle
|
static Particle |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Particle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Particle EXPLOSION_NORMAL
public static final Particle EXPLOSION_LARGE
public static final Particle EXPLOSION_HUGE
public static final Particle FIREWORKS_SPARK
public static final Particle WATER_BUBBLE
public static final Particle WATER_SPLASH
public static final Particle WATER_WAKE
public static final Particle SUSPENDED
public static final Particle SUSPENDED_DEPTH
public static final Particle CRIT
public static final Particle CRIT_MAGIC
public static final Particle SMOKE_NORMAL
public static final Particle SMOKE_LARGE
public static final Particle SPELL
public static final Particle SPELL_INSTANT
public static final Particle SPELL_MOB
public static final Particle SPELL_MOB_AMBIENT
public static final Particle SPELL_WITCH
public static final Particle DRIP_WATER
public static final Particle DRIP_LAVA
public static final Particle VILLAGER_ANGRY
public static final Particle VILLAGER_HAPPY
public static final Particle TOWN_AURA
public static final Particle NOTE
public static final Particle PORTAL
public static final Particle ENCHANTMENT_TABLE
public static final Particle FLAME
public static final Particle LAVA
public static final Particle CLOUD
public static final Particle REDSTONE
public static final Particle SNOWBALL
public static final Particle SNOW_SHOVEL
public static final Particle SLIME
public static final Particle HEART
public static final Particle BARRIER
public static final Particle ITEM_CRACK
public static final Particle BLOCK_CRACK
public static final Particle BLOCK_DUST
public static final Particle WATER_DROP
public static final Particle MOB_APPEARANCE
public static final Particle DRAGON_BREATH
public static final Particle END_ROD
public static final Particle DAMAGE_INDICATOR
public static final Particle SWEEP_ATTACK
public static final Particle FALLING_DUST
public static final Particle TOTEM
public static final Particle SPIT
public static final Particle SQUID_INK
public static final Particle BUBBLE_POP
public static final Particle CURRENT_DOWN
public static final Particle BUBBLE_COLUMN_UP
public static final Particle NAUTILUS
public static final Particle DOLPHIN
public static final Particle LEGACY_BLOCK_CRACK
public static final Particle LEGACY_BLOCK_DUST
public static final Particle LEGACY_FALLING_DUST
public static Particle[] values()
for (Particle c : Particle.values()) System.out.println(c);
public static Particle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@NotNull public Class<?> getDataType()
@NotNull public ParticleBuilder builder()
ParticleBuilder
ParticleBuilder
for the particleCopyright © 2020. All rights reserved.