The known sub-classes for Entity Events are:
Sub-Classes | Sub-Classes | Sub-Classes |
---|---|---|
CreatureSpawnEvent | CreeperPowerEvent | EntityChangeBlockEvent |
EntityCombustEvent | EntityCreatePortalEvent | EntityDamageEvent |
EntityDeathEvent | EntityExplodeEvent | EntityInteractEvent |
EntityPortalEnterEvent | EntityRegainHealthEvent | EntityShootBowEvent |
EntityTameEvent | EntityTargetEvent | EntityTeleportEvent |
EntityUnleashEvent | ExplosionPrimeEvent | FoodLevelChangeEvent |
HorseJumpEvent | ItemDespawnEvent | ItemSpawnEvent |
PigZapEvent | ProjectileHitEvent | ProjectileLaunchEvent |
SheepDyeWoolEvent | SheepRegrowWoolEvent | SlimeSplitEvent |
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