So, I'm having an issue trying to come up with the logic for a feature I'm trying to put into a plugin. Lets say that in Minecraft, I have a system of smooth stone roads. I want to be able to navigate from one location, to another, using only the system of roads. The roads will be distinguished with a List of locations. How would I be able to calculate the route?