EntityEvent(超类)
已知的实体事件子类是:
子类 | 子类 | 子类 |
---|---|---|
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 |
除此之外,所有子类都继承以下方法:
Entity getEntity(); //Entity who is involved in this event
EntityType getEntityType(); //EntityType of the Entity involved in this event