
Just ensure the Villagers won’t get harmed by any mobs around the track.

If you don’t, cover the track in some harder material like cobblestone or any material you think will be the safest. We would say the best option is to dig under the ground because Netherack doesn’t take that long to dig, and it is the safest way to transport your Villagers. Make a track leading to the other portal that lets no mobs in, and it is safe from the Ghasts explosions. You will want to use Minecarts for this because it will be the fastest method in this area. Find a good route between them and make better routes through tunnels to make it even faster. The first thing you will want to do is determine the distance from either Nether portal. Yes, you can move them through the Nether, but it will take some work to get every Villager through safely. Moving Villagers through the Nether is terrifying if you don’t put the necessary precautions in beforehand. It is a good method, but you should probably stick to an easier one, just in case. They can easily be attacked if you aren’t watching them at all times, and it is not like they can protect themselves.

MINECRAFT RAILS UPHILL PLUS
The plus to this method is that you can move multiple Villagers simultaneously, but it is scary because they aren’t protected from mobs. The Villagers do move toward beds, so what you can do is every 30 blocks, set up a bed and slowly destroy each one to make the Villagers move to the next one.

This is one of the longest and hardest methods because you must build many beds.
