Search in sources :

Example 1 with EntityParticleFXTest

use of uk.co.wehavecookies56.kk.client.fx.EntityParticleFXTest in project Kingdom-Keys-Re-Coded by Wehavecookies56.

the class ClientProxy method spawnDarkSmokeParticle.

public void spawnDarkSmokeParticle(World world, double posX, double posY, double posZ, double motionX, double motionY, double motionZ, float alpha) {
    Particle particleTest = new EntityParticleFXTest(new ResourceLocation(Reference.MODID, "textures/fx/darksmoke.png"), world, posX, posY, posZ, motionX, motionY, motionZ, alpha);
    Minecraft.getMinecraft().effectRenderer.addEffect(particleTest);
}
Also used : Particle(net.minecraft.client.particle.Particle) ModelResourceLocation(net.minecraft.client.renderer.block.model.ModelResourceLocation) ResourceLocation(net.minecraft.util.ResourceLocation) EntityParticleFXTest(uk.co.wehavecookies56.kk.client.fx.EntityParticleFXTest)

Example 2 with EntityParticleFXTest

use of uk.co.wehavecookies56.kk.client.fx.EntityParticleFXTest in project Kingdom-Keys-Re-Coded by Wehavecookies56.

the class ClientProxy method spawnTestParticle.

@Override
public void spawnTestParticle(World world, double posX, double posY, double posZ, double motionX, double motionY, double motionZ, float alpha) {
    Particle particleTest = new EntityParticleFXTest(new ResourceLocation(Reference.MODID, "textures/fx/flame.png"), world, posX, posY, posZ, motionX, motionY, motionZ, alpha);
    Minecraft.getMinecraft().effectRenderer.addEffect(particleTest);
}
Also used : Particle(net.minecraft.client.particle.Particle) ModelResourceLocation(net.minecraft.client.renderer.block.model.ModelResourceLocation) ResourceLocation(net.minecraft.util.ResourceLocation) EntityParticleFXTest(uk.co.wehavecookies56.kk.client.fx.EntityParticleFXTest)

Aggregations

Particle (net.minecraft.client.particle.Particle)2 ModelResourceLocation (net.minecraft.client.renderer.block.model.ModelResourceLocation)2 ResourceLocation (net.minecraft.util.ResourceLocation)2 EntityParticleFXTest (uk.co.wehavecookies56.kk.client.fx.EntityParticleFXTest)2