My 3d array implementation is almost working

I’m trying to make a Rubik’s Cube right now. And I coded one in Java, and I’ve been trying to transfer it over, which usually works; I just have to change some things with arrays. But I’ve never tried to do it with a 3d array, and it’s working almost right, but not quite, and I can’t figure it out. I’ve spent like 4 hours trying to fix it. If anyone smarter than me could take a look, that would be greatly appreciated.

That a really nice idea !!
U_p3 works but RotateFace doesn’t seem to be working yet.

Do you have any idea why Rotate Face isn’t working In stuck :frowning: