They’re formatted by XZ. So [00] is 0,0 and [01] is 0,1. I’ll need to call tostring after doing math to be able to access negative chunk coordinates. But that isn’t important right now.
Anyways, I just need help writing or atleast some guidance on how to start writing something like this. I’m thinking there’s an easy math solution, but I don’t know where to start as I’ve never done something like this before.
This is known as neighbors, just add and minus the xy coordinates to get the next chunk like @DenisxdX3 said. Here was my implementation, your definitions of up,right,left,down might vary depending on how you view the Axis: