{
super(par1World);
setLocationAndAngles(par2EntityLiving.posX, par2EntityLiving.posY+ (double) par2EntityLiving.getEyeHeight(), par2EntityLiving.posZ, par2EntityLiving.rotationYaw, par2EntityLiving.rotationPitch);
getNavigator().func_48664_a(true);
tasks.addTask(1, new EntityAISwimming(this));
tasks.addTask(6, new EntityAIWander(this, moveSpeed));
tasks.addTask(6, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
tasks.addTask(6, new EntityAILookIdle(this));
tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));