create events for external research

these events get trigered when a block is placed or used, when a block is used it will check if the event is canceled
Formatting is wrong. "if" statement should be at the same level as previous statement. Same comments for items below.