Search in sources :

Example 1 with ParticleFountain

use of org.blockartistry.DynSurround.client.fx.particle.ParticleFountain in project DynamicSurroundings by OreCruncher.

the class ParticleFountainJet method spawnJetParticle.

@Override
protected void spawnJetParticle() {
    final double motionX = RANDOM.nextGaussian() * 0.03D;
    final double motionZ = RANDOM.nextGaussian() * 0.03D;
    final double x = this.posX + RANDOM.nextGaussian() * 0.2D;
    final double z = this.posZ + RANDOM.nextGaussian() * 0.2D;
    final Particle particle = new ParticleFountain(this.world, x, this.posY, z, motionX, 0.5D, motionZ, this.block).init();
    addParticle(particle);
}
Also used : Particle(net.minecraft.client.particle.Particle) ParticleFountain(org.blockartistry.DynSurround.client.fx.particle.ParticleFountain)

Aggregations

Particle (net.minecraft.client.particle.Particle)1 ParticleFountain (org.blockartistry.DynSurround.client.fx.particle.ParticleFountain)1