Ability to set/create block material with material name

This change gives the user the ability to specify the block material by name instead of index. Thanks!