bukkit Entity Events EntityEvent (Superclass)


Example

The known sub-classes for Entity Events are:

Sub-ClassesSub-ClassesSub-Classes
CreatureSpawnEventCreeperPowerEventEntityChangeBlockEvent
EntityCombustEventEntityCreatePortalEventEntityDamageEvent
EntityDeathEventEntityExplodeEventEntityInteractEvent
EntityPortalEnterEventEntityRegainHealthEventEntityShootBowEvent
EntityTameEventEntityTargetEventEntityTeleportEvent
EntityUnleashEventExplosionPrimeEventFoodLevelChangeEvent
HorseJumpEventItemDespawnEventItemSpawnEvent
PigZapEventProjectileHitEventProjectileLaunchEvent
SheepDyeWoolEventSheepRegrowWoolEventSlimeSplitEvent


In addition to this, all the sub-classes inherit the following methods:

Entity getEntity();            //Entity who is involved in this event
EntityType getEntityType();    //EntityType of the Entity involved in this event