Register Sub Events

Discussion in 'Bukkit Preview' started by feildmaster, Feb 19, 2012.

  1. Offline

    feildmaster

    Plugins can now listen specifically for Sub Events. Instead of casting an EntityDamage event for example, you can simply create a function of that type, eg:
    Code:
    @EventHandler
    public void onEntityDamageByEntity(EntityDamageByEntityEvent event){
    }
     
    toqueteos and Yeligar like this.

Share This Page