Creating a Particle
Creating a simple particle
public class MyClass {
public static Particles createParticle() {
Particles particle = Particles.builder()
.particle(Particle.NOTE)
.spawnAt(Location)
// OR .spawnAt(Player::getLocation) for dynamic location (you could also just modify the provided location object)
.build();
particle.start();
return particle;
}
}
This creates a simple Note
particle at the provided Location
.
Creating a particle using an ItemStack
public class MyClass {
public static Particles createParticle() {
Particles particle = Particles.builder()
.display(ItemStack)
.spawnAt(Location)
// OR .spawnAt(Player::getLocation) for dynamic location (you could also just modify the provided location object)
.build();
particle.start();
return particle;
}
}
03 October 2025