@CatalogedBy(value=ParticleTypes.class) public interface ParticleType extends CatalogType
| Modifier and Type | Method and Description |
|---|---|
<V> Optional<V> |
getDefaultOption(ParticleOption<V> option)
Gets the default value for the specified
ParticleOption, it may
return Optional.empty() if the particle option isn't supported
by this particle type. |
Map<ParticleOption<?>,Object> |
getDefaultOptions()
Gets a immutable
Map with all the available
ParticleOptions and their values. |
getId, getName<V> Optional<V> getDefaultOption(ParticleOption<V> option)
ParticleOption, it may
return Optional.empty() if the particle option isn't supported
by this particle type.V - The value typeoption - The particle optionOptional.empty()Map<ParticleOption<?>,Object> getDefaultOptions()
Map with all the available
ParticleOptions and their values. When a option isn't
available inside this Map it's most likely not supported
by this particle type.