tModLoader version, the Terra Blade becomes available after defeating Plantera. On other versions, obtaining it requires defeating one / all mechanical bosses.