Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Finding neighbors of a block

Discussion in 'Modding API' started by beelzerob, Apr 4, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. beelzerob Apprentice Engineer

    Messages:
    422
    Is there some mechanism for finding the neighbors of an arbitrary block.

    1) Blocks that occupy physical space immediately adjacent to the block, regardless of its size.
    2) Blocks that are physically connected (usually a conveyor)

    Thanks.
     
  2. Digi Senior Engineer

    Messages:
    2,287
    IMySlimBlock has a Neighbours list, I dunno if it works with larger blocks, print the list and see :p
     
  3. beelzerob Apprentice Engineer

    Messages:
    422
    Excellent, thank you!
     
Thread Status:
This last post in this thread was made more than 31 days old.