Use Minecraft api block module rather than hardcoding block id's

The minecraft python api contains a block module which holds all the block id's, this could be used rather than hard coding block id's into the program.