Search in sources :

Example 1 with BlockHint

use of com.github.technus.tectech.entity.fx.BlockHint in project TecTech by Technus.

the class ClientProxy method hint_particle.

@Override
public void hint_particle(World world, int x, int y, int z, Block block, int meta) {
    Minecraft.getMinecraft().effectRenderer.addEffect(new BlockHint(world, x, y, z, block, meta));
    EntityFX particle = new EntityExplodeFX(world, x + TecTech.Rnd.nextFloat() * 0.5F, y + TecTech.Rnd.nextFloat() * 0.5F, z + TecTech.Rnd.nextFloat() * 0.5F, 0, 0, 0);
    particle.setRBGColorF(0, 0.6F * TecTech.Rnd.nextFloat(), 0.8f);
    Minecraft.getMinecraft().effectRenderer.addEffect(particle);
}
Also used : EntityExplodeFX(net.minecraft.client.particle.EntityExplodeFX) BlockHint(com.github.technus.tectech.entity.fx.BlockHint) EntityFX(net.minecraft.client.particle.EntityFX)

Aggregations

BlockHint (com.github.technus.tectech.entity.fx.BlockHint)1 EntityExplodeFX (net.minecraft.client.particle.EntityExplodeFX)1 EntityFX (net.minecraft.client.particle.EntityFX)1