You can use PlayerInteractEvent.
@EventHandler
public void onPlayerUse(PlayerInteractEvent event){
Player p = event.getPlayer();
if(p.getItemInHand().getType() == Material.BLAZE_ROD){
// Code goes here
}
}
Also don't forget to register your listener in onEnable method.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…