public interface ParticleEffect extends DataSerializable
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | ParticleEffect.BuilderRepresents a builder to create a  ParticleEffect. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ParticleEffect.Builder | builder()Creates a new  ParticleEffect.Builderto build aParticleEffect. | 
| <V> Optional<V> | getOption(ParticleOption<V> option)Gets the value for the specified  ParticleOption. | 
| default <V> Optional<V> | getOptionOrDefault(ParticleOption<V> option)Gets the value for the specified  ParticleOptionor
 the default value if not present. | 
| Map<ParticleOption<?>,Object> | getOptions()Gets a immutable  Mapwith all the availableParticleOptions and their values. | 
| ParticleType | getType()Gets the type of the particle effect. | 
getContentVersion, toContainerstatic ParticleEffect.Builder builder()
ParticleEffect.Builder to build a ParticleEffect.ParticleType getType()
<V> Optional<V> getOption(ParticleOption<V> option)
ParticleOption.V - The value typeoption - The particle optionOptional.empty()default <V> Optional<V> getOptionOrDefault(ParticleOption<V> option)
ParticleOption or
 the default value if not present.V - The value typeoption - The particle optionOptional.empty()Map<ParticleOption<?>,Object> getOptions()
Map with all the available
 ParticleOptions and their values.