AreaEffectCloudApplyEvent
, BatToggleSleepEvent
, CreeperIgniteEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EnderDragonFireballHitEvent
, EnderDragonFlameEvent
, EnderDragonShootFireballEvent
, EndermanAttackPlayerEvent
, EndermanEscapeEvent
, EntityAddToWorldEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityDropItemEvent
, EntityEnterBlockEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityJumpEvent
, EntityKnockbackByEntityEvent
, EntityMountEvent
, EntityPathfindEvent
, EntityPickupItemEvent
, EntityPlaceEvent
, EntityPortalEnterEvent
, EntityPoseChangeEvent
, 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
, VillagerCareerChangeEvent
, VillagerReplenishTradeEvent
, WitchConsumePotionEvent
, WitchReadyPotionEvent
, WitchThrowPotionEvent
public abstract class EntityEvent extends Event
Event.Result
Constructor | Description |
---|---|
EntityEvent(@NotNull Entity what) |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Entity |
getEntity() |
Returns the Entity involved in this event
|
@NotNull EntityType |
getEntityType() |
Gets the EntityType of the Entity involved in this event.
|
callEvent, getEventName, getHandlers, isAsynchronous
protected Entity entity
public EntityEvent(@NotNull @NotNull Entity what)
@NotNull public @NotNull Entity getEntity()
@NotNull public @NotNull EntityType getEntityType()
Copyright © 2020. All rights reserved.