Topic category: Bugs and solutions
I apologize if this is a duplicate but I spent a few hrs going through all the bugs posts for rotation and didn't find anything relating to what I'm seeing.
So, I have a procedure that is called on right-clicking a block (the middle block in the image below), this procedure checks the blocks next to it;
Now, the above setup works, you right-click the middle block and the procedure does its check and then it opens the GUI I have set to open.
The middle block has the new rotation option set so when you place it, it faces towards you (like a furnace).
Now, the check was achieved by the following procedures. I have 4 of these checks total for checking the blocks on the different directions (because the middle block and be placed facing the 4 cardinal directions).
It turns out, only one of these procedures works, and I think I know why.
The block I have a check for (the one in the picture to the right) also has the new block rotation option set on. When it does the check, I think it's looking for the block with the default rotation, and because the block is not in its default rotation, the check = false even though the block is actually correct.
Hopefully that all makes sense. (If I'm doing something wrong, pls tell me.)