What source code are you looking at? The stuff on github is old. My most recent (or close to it) can be found at: http://www.1143pm.com/TentThisSource.zip. As you will notice in the newer source, BlockRightClickEvent, or whatever it is, is no longer used. It is now part of a larger reaching event called PlayerInteractEvent. You listen for this in a PlayerListener using onPlayerInteract().