help
how can i add this code into my client im a complete noob D:
if(Variables.forcefield)
{
for(int i = 0; i < mc.theWorld.loadedEntityList.size(); i++) {
if((Entity)mc.theWorld.loadedEntityList.get(i) != this && getDistanceSqToEntity((Entity)mc.theWorld.loadedEn tityList.get(i)) < 25D)
{
if((Entity)mc.theWorld.loadedEntityList.get(i) instanceof EntityOtherPlayerMP);
{
mc.playerController.attackEntity(this, (Entity)mc.theWorld.loadedEntityList.get(i));
}
}
}
}
It'd be a wise idea to ask this in the Java Coding section, only a selective number of people in this section have the knowledge to help you with this. Would you like me to move this to the Java Coding section for you?