Particles
hCore allows you to send particles in any place you want.
HCore#playParticle(player, HParticle)
Plays provided particle for provided player.
HCore#playParticle(location, HParticle)
Plays provided particle for everyone in provided location.
HCore#playParticle(player, location, HParticle)
Plays provided particle for provided player in provided location.
HCore#playParticle(Collection<Player>, location, HParticle)
Plays provided particle for provided players in provided location.
Example code
HParticle myParticle = new HParticle(HParticleType.ASH, 30, 0.2, new Vector(0.3, 0.3, 0.3); // creates a new HParticle which uses "HEART" particle as template
HCore.playParticle(player, player.getLocation(), myParticle); // plays the particle at player's location
Last updated