Added BlockData class, CustomBlockDefinitions section in the config to
define custom blocks with id and subid, and changed all block checks
from material checks to checks with the BlockData object which holds id
and subid of protected blocks.