And that didn't work, I think because it has 3 sides (front, top and side)
Really? You can't figure the rest out on your own?
The only unusual thing there is that I'm saving the result back to a location accessible from everywhere (that block exists solely to register a bunch of debug textures for general use).
No, because it's all set in the Block class, along with hardness, resistance, and several other things.