Search in sources :

Example 1 with ParticleIgnition

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

the class ParticleRender method addEntityIgnitionFX.

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

Aggregations

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