if (side <= 1)
{
bp = new BlockPosition(x, y, z, ForgeDirection.NORTH);
bp.moveRight(1);
sides[0] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
bp.moveBackwards(1);
sides[4] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
bp.moveLeft(1);
sides[1] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
bp.moveLeft(1);
sides[5] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;