A Melbourne teenager has been accused of plotting ‘horrendous’ attacks after a tip-off from the FBI, a court has been told.