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);
}
Aggregations