Added support for block ID's in commands (aswell as their names, without
using depreciated methods)