AreaEffectCloudApplyEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EndermanAttackPlayerEvent
, EndermanEscapeEvent
, EntityAddToWorldEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityKnockbackByEntityEvent
, EntityMountEvent
, EntityPathfindEvent
, EntityPickupItemEvent
, EntityPortalEnterEvent
, EntityRegainHealthEvent
, EntityRemoveFromWorldEvent
, EntityResurrectEvent
, EntityShootBowEvent
, EntitySpawnEvent
, EntityTameEvent
, EntityTargetEvent
, EntityTeleportEvent
, EntityToggleGlideEvent
, EntityUnleashEvent
, EntityZapEvent
, ExperienceOrbMergeEvent
, ExplosionPrimeEvent
, FireworkExplodeEvent
, FoodLevelChangeEvent
, HorseJumpEvent
, ItemDespawnEvent
, ItemMergeEvent
, ProjectileCollideEvent
, ProjectileHitEvent
, ProjectileLaunchEvent
, SheepDyeWoolEvent
, SheepRegrowWoolEvent
, SlimeSplitEvent
, 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(Entity what)
public Entity getEntity()
public EntityType getEntityType()
Copyright © 2019. All rights reserved.