I was wondering if someone can help me with the math of determining if the position of an end portal frame makes up the shape of how an end portal is supposed to be like in Minecraft.