AreaEffectCloudApplyEvent
, CreeperPowerEvent
, EnderDragonChangePhaseEvent
, EntityAirChangeEvent
, EntityBreedEvent
, EntityChangeBlockEvent
, EntityCombustEvent
, EntityCreatePortalEvent
, EntityDamageEvent
, EntityDeathEvent
, EntityDismountEvent
, EntityDropItemEvent
, EntityExplodeEvent
, EntityInteractEvent
, EntityMountEvent
, EntityPickupItemEvent
, EntityPortalEnterEvent
, EntityPotionEffectEvent
, EntityRegainHealthEvent
, EntityResurrectEvent
, EntityShootBowEvent
, EntitySpawnEvent
, EntityTameEvent
, EntityTargetEvent
, EntityTeleportEvent
, EntityToggleGlideEvent
, EntityToggleSwimEvent
, EntityUnleashEvent
, ExplosionPrimeEvent
, FireworkExplodeEvent
, FoodLevelChangeEvent
, HorseJumpEvent
, ItemDespawnEvent
, ItemMergeEvent
, PigZapEvent
, PigZombieAngerEvent
, ProjectileHitEvent
, ProjectileLaunchEvent
, SheepDyeWoolEvent
, SheepRegrowWoolEvent
, SlimeSplitEvent
, VillagerAcquireTradeEvent
, 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(Entity what)
public Entity getEntity()
public EntityType getEntityType()
Copyright © 2018. All rights reserved.