As of version 1.4.1, Mothron only spawns after Plantera has been defeated, but it will not drop any items until after all three mechanical bosses have also been defeated in the current world.