Search in sources :

Example 1 with ParticleSnow

use of forestry.core.entities.ParticleSnow in project ForestryMC by ForestryMC.

the class ParticleRender method addEntitySnowFX.

public static void addEntitySnowFX(World world, double x, double y, double z) {
    if (!shouldSpawnParticle(world)) {
        return;
    }
    ParticleManager effectRenderer = Minecraft.getMinecraft().effectRenderer;
    effectRenderer.addEffect(new ParticleSnow(world, x + world.rand.nextGaussian(), y, z + world.rand.nextGaussian()));
}
Also used : ParticleSnow(forestry.core.entities.ParticleSnow) ParticleManager(net.minecraft.client.particle.ParticleManager)

Aggregations

ParticleSnow (forestry.core.entities.ParticleSnow)1 ParticleManager (net.minecraft.client.particle.ParticleManager)1