Interface ParticleData
- All Known Implementing Classes:
BlockParticle, ColorParticle, DustParticle, DustTransitionParticle, ItemParticle, PowerParticle, SculkChargeParticle, SpellParticle, TrailParticle, VibrationParticle
An interface for particle data that can be applied to a specific particle type.
- Since:
- 1.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapply(ParticleType particleType) Applies the particle data to the given particle type and returns the corresponding ParticleOptions.static intParses a hexadecimal color string and returns its integer representation.
-
Method Details
-
parseHex
-
apply
Applies the particle data to the given particle type and returns the corresponding ParticleOptions.- Parameters:
particleType- The particle type to which the data will be applied.- Returns:
- The ParticleOptions representing the applied particle data.
-