Search in sources :

Example 1 with ParticleSmoke

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

the class ParticleRender method addEntitySmokeFX.

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

Aggregations

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