Use new constructor for BlockCanBuildEvent to take a Material rather than an id.