I would to set on fire entity that i whatch
[embed=425,349]World world = Minecraft.getMinecraft().theWorld;
MovingObjectPosition mop = Minecraft.getMinecraft().renderViewEntity.rayTrace(50, 1.0F);
if(mop != null)
{
Entity Target = mop.entityHit;
if(Target instanceof EntityLiving) {
Target.setFire(5);
}
}
}[/embed]
I've do this but it doesn't work.
Sorry for my english I'm italian