Check block connection for road

Discussion in 'Plugin Development' started by Kleinerminer, Dec 21, 2014.

Thread Status:
Not open for further replies.
  1. Hello,
    the title says it all, I wanted to ask if it is possible to check if 2 blocks/locations are connected by blocks with a certain Material (for roads). Maybe it is possible to write a method for this, but I have absolutley no idea how...
     
  2. Offline

    ZodiacTheories

    @Kleinerminer

    Get the blocks location, and the space next to it's location, and check for the block
     
  3. The problem is, I don't know how the two locations are connected - the path is not straight from l1 to l2.
     
    Last edited: Dec 26, 2014
Thread Status:
Not open for further replies.

Share This Page