Minecraft – make the nether tunnel work in unloaded chunks

minecraft-java-editionminecraft-redstone

I'm working on a nether tunnel which allows you to travel by minecart as well as by ice road by having pistons extend and retract:

Minecart mode:
enter image description here

Ice road mode:
enter image description here

I've got 2 stations at the beginning and the end of the tunnel where I can see if the player walks or takes the minecart by having the tunnel in ice road mode unless the player uses a button to call the minecart at the station.

However redstone does not work inside chunks that are not loaded by the game. Therefor I cannot use this for really long tunnels (which is something I would like to do though)

Is there a way arround that?

Best Answer

You can use detector rails (archive).

Replace a normal rail with it, take the redstone signal from it and use that to transform the next part of the tunnel into minecart mode. Then, after a short delay (long enough to let you drive through), transform it back.

Apart from that, is there any advantage in having the tunnel in minecart mode? How I see it, you could just permanently leave it in ice road mode, it can still be used with a minecart.