tweak block map gen script to generate blockstate names a little better, and make BlockStateName function use block data to look up names.