How Do I Make A Block Shaped Like Cases If

First of all:

Second of all, I've already made a block like this here.