So I'm trying to make a multiblock that detects a cuboid in-front of it with center and top middle block being glass, and no matter which way I try to place the block it always searches towards the positive Z direction, so can someone please tell me what I'm doing wrong ?
The Block class
The TileEntity class