Added catch for crafting events triggered by AE (ie. Crafting Terminal)
Optimised code for block detection with mods