AreaEffectCloudApplyEvent
, BatToggleSleepEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityDropItemEvent
, 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(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.
|
getEventName, getHandlers, isAsynchronous
protected Entity entity
public EntityEvent(@NotNull Entity what)
@NotNull public Entity getEntity()
@NotNull public EntityType getEntityType()
Copyright © 2020. All rights reserved.