feildmaster/Bukkit — comment on commit 203e70398e81410c6d7c09ac55414d9127003f04
File:  line 0
By feildmaster:

Instanceof. If you're only going to catch instanceof EntityBlockFormEvent and return when it's not, then there's little to no impact on performance.