Package org.bukkit.event.entity
Class EntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
- Direct Known Subclasses:
AreaEffectCloudApplyEvent
,ArrowBodyCountChangeEvent
,BatToggleSleepEvent
,CreeperIgniteEvent
,CreeperPowerEvent
,ElderGuardianAppearanceEvent
,EnderDragonChangePhaseEvent
,EnderDragonFireballHitEvent
,EnderDragonFlameEvent
,EnderDragonShootFireballEvent
,EndermanAttackPlayerEvent
,EndermanEscapeEvent
,EntityAddToWorldEvent
,EntityAirChangeEvent
,EntityBreedEvent
,EntityChangeBlockEvent
,EntityCombustEvent
,EntityCreatePortalEvent
,EntityDamageEvent
,EntityDamageItemEvent
,EntityDeathEvent
,EntityDismountEvent
,EntityDropItemEvent
,EntityDyeEvent
,EntityEnterBlockEvent
,EntityEnterLoveModeEvent
,EntityExhaustionEvent
,EntityExplodeEvent
,EntityFertilizeEggEvent
,EntityInsideBlockEvent
,EntityInteractEvent
,EntityJumpEvent
,EntityKnockbackEvent
,EntityKnockbackEvent
,EntityLoadCrossbowEvent
,EntityMountEvent
,EntityMoveEvent
,EntityPathfindEvent
,EntityPickupItemEvent
,EntityPlaceEvent
,EntityPortalEnterEvent
,EntityPortalReadyEvent
,EntityPoseChangeEvent
,EntityPotionEffectEvent
,EntityRegainHealthEvent
,EntityRemoveEvent
,EntityRemoveFromWorldEvent
,EntityResurrectEvent
,EntityShootBowEvent
,EntitySpawnEvent
,EntitySpellCastEvent
,EntityTameEvent
,EntityTargetEvent
,EntityTeleportEvent
,EntityToggleGlideEvent
,EntityToggleSitEvent
,EntityToggleSwimEvent
,EntityTransformEvent
,EntityUnleashEvent
,ExperienceOrbMergeEvent
,ExplosionPrimeEvent
,FireworkExplodeEvent
,FoodLevelChangeEvent
,HorseJumpEvent
,ItemDespawnEvent
,ItemMergeEvent
,PiglinBarterEvent
,PigZombieAngerEvent
,ProjectileCollideEvent
,ProjectileHitEvent
,PufferFishStateChangeEvent
,SheepRegrowWoolEvent
,ShulkerDuplicateEvent
,SkeletonHorseTrapEvent
,SlimePathfindEvent
,SlimeSplitEvent
,StriderTemperatureChangeEvent
,TameableDeathMessageEvent
,TurtleGoHomeEvent
,TurtleLayEggEvent
,TurtleStartDiggingEvent
,VillagerAcquireTradeEvent
,VillagerCareerChangeEvent
,VillagerReplenishTradeEvent
,WardenAngerChangeEvent
,WitchConsumePotionEvent
,WitchReadyPotionEvent
,WitchThrowPotionEvent
Represents an Entity-related event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Entity involved in this eventGets the EntityType of the Entity involved in this event.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Field Details
-
entity
-
-
Constructor Details
-
EntityEvent
-
-
Method Details
-
getEntity
Returns the Entity involved in this event- Returns:
- Entity who is involved in this event
-
getEntityType
Gets the EntityType of the Entity involved in this event.- Returns:
- EntityType of the Entity involved in this event
-