Mods/TrainCarts/PathFinding

Introduction
Path finding is a smart connection between commands, signs, trains and train properties. Each switcher and destination sign turns into a node of a network trains can use to reach their destination. Blocker signs can kill off certain routes in this network but don't act as an actual node.

Each minecart can have its own destination set, which can be set using commands, destination signs or property signs. Switcher signs toggle the rails in such a manner that every minecart is sent into the correct direction. May trains collide along the way, the cart switcher can still cut the train apart and fix things up.

May this network of nodes ever fail, you can use the Reroute Command to fix things up.

Where to start
When first getting in contact with this system, I can understand it seems pretty complicated. In some ways it is, but once the first bit is done you quickly get the hang of it. Start off with some switcher signs, third and fourth lines left empty, placing them underneath the rails you wish to toggle using this system. Then end with two or three destination signs underneath the rails you want to get to. Use the Destination Command to set the destination on your train and let the system do its work.

Blocker signs
Blocker signs can be placed down to make rails one-way only. This prevents trains driving into each other, cutting off routes between nodes in one direction even if it is shorter. Make sure to have the blocker sign use an always-powered mode ([+train]), otherwise path finding will ignore the sign. Path finding does not remember or use redstone-based routing logic.

Debugging
A debug command is available that will allow you to check if a route to a specific destination can be found. Use /train debug destination {destination_name}. The destination being the name of the destination you want to debug. You will then find a Destination Debugger Tool (Wooden Stick) in your inventory that is pre-configured for the destination you specified. While holding the debug stick in your hand, right click on the track to see debug information relating to the route.