AreaEffectCloudApplyEvent
, BatToggleSleepEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityDropItemEvent
, EntityEnterBlockEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityMountEvent
, EntityPickupItemEvent
, EntityPlaceEvent
, EntityPortalEnterEvent
, EntityPoseChangeEvent
, EntityPotionEffectEvent
, EntityRegainHealthEvent
, EntityResurrectEvent
, EntityShootBowEvent
, EntitySpawnEvent
, EntityTameEvent
, EntityTargetEvent
, EntityTeleportEvent
, EntityToggleGlideEvent
, EntityToggleSwimEvent
, EntityTransformEvent
, EntityUnleashEvent
, ExplosionPrimeEvent
, FireworkExplodeEvent
, FoodLevelChangeEvent
, HorseJumpEvent
, ItemDespawnEvent
, ItemMergeEvent
, PigZombieAngerEvent
, ProjectileHitEvent
, SheepDyeWoolEvent
, SheepRegrowWoolEvent
, SlimeSplitEvent
, VillagerAcquireTradeEvent
, VillagerCareerChangeEvent
, VillagerReplenishTradeEvent
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.
|
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.