AreaEffectCloudApplyEvent
, BatToggleSleepEvent
, CreeperIgniteEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EnderDragonFireballHitEvent
, EnderDragonFlameEvent
, EnderDragonShootFireballEvent
, EndermanAttackPlayerEvent
, EndermanEscapeEvent
, EntityAddToWorldEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityDropItemEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityKnockbackByEntityEvent
, EntityMountEvent
, EntityPathfindEvent
, EntityPickupItemEvent
, EntityPlaceEvent
, EntityPortalEnterEvent
, EntityPotionEffectEvent
, EntityRegainHealthEvent
, EntityRemoveFromWorldEvent
, EntityResurrectEvent
, EntityShootBowEvent
, EntitySpawnEvent
, EntityTameEvent
, EntityTargetEvent
, EntityTeleportEvent
, EntityToggleGlideEvent
, EntityToggleSwimEvent
, EntityTransformedEvent
, EntityTransformEvent
, EntityUnleashEvent
, ExperienceOrbMergeEvent
, ExplosionPrimeEvent
, FireworkExplodeEvent
, FoodLevelChangeEvent
, HorseJumpEvent
, ItemDespawnEvent
, ItemMergeEvent
, PigZombieAngerEvent
, ProjectileCollideEvent
, ProjectileHitEvent
, SheepDyeWoolEvent
, SheepRegrowWoolEvent
, SkeletonHorseTrapEvent
, SlimePathfindEvent
, SlimeSplitEvent
, TurtleGoHomeEvent
, TurtleLayEggEvent
, TurtleStartDiggingEvent
, VillagerAcquireTradeEvent
, VillagerReplenishTradeEvent
, WitchConsumePotionEvent
, WitchReadyPotionEvent
, WitchThrowPotionEvent
public abstract class EntityEvent extends Event
Event.Result
Constructor | Description |
---|---|
EntityEvent(Entity what) |
Modifier and Type | Method | Description |
---|---|---|
Entity |
getEntity() |
Returns the Entity involved in this event
|
EntityType |
getEntityType() |
Gets the EntityType of the Entity involved in this event.
|
callEvent, getEventName, getHandlers, isAsynchronous
protected Entity entity
public EntityEvent(@NotNull Entity what)
@NotNull public Entity getEntity()
@NotNull public EntityType getEntityType()
Copyright © 2020. All rights reserved.