列車を作ってから保存するかわりに、長い列車のスポーンパターンを/savedtrain [name] spawn [pattern]コマンドで直接保存することができます。
/savedtrain [name] spawn [pattern]