Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.entity.EntityEvent Class Referenceabstract
Inheritance diagram for org.bukkit.event.entity.EntityEvent:
org.bukkit.event.Event org.bukkit.event.entity.CreatureSpawnEvent org.bukkit.event.entity.CreeperPowerEvent org.bukkit.event.entity.EntityChangeBlockEvent org.bukkit.event.entity.EntityCombustEvent org.bukkit.event.entity.EntityCreatePortalEvent org.bukkit.event.entity.EntityDamageEvent org.bukkit.event.entity.EntityDeathEvent org.bukkit.event.entity.EntityExplodeEvent org.bukkit.event.entity.EntityInteractEvent org.bukkit.event.entity.EntityPortalEnterEvent org.bukkit.event.entity.EntityRegainHealthEvent org.bukkit.event.entity.EntityShootBowEvent org.bukkit.event.entity.EntityTameEvent org.bukkit.event.entity.EntityTargetEvent org.bukkit.event.entity.EntityTeleportEvent org.bukkit.event.entity.EntityUnleashEvent org.bukkit.event.entity.ExplosionPrimeEvent org.bukkit.event.entity.FoodLevelChangeEvent org.bukkit.event.entity.HorseJumpEvent org.bukkit.event.entity.ItemDespawnEvent org.bukkit.event.entity.ItemSpawnEvent org.bukkit.event.entity.PigZapEvent org.bukkit.event.entity.ProjectileHitEvent org.bukkit.event.entity.ProjectileLaunchEvent org.bukkit.event.entity.SheepDyeWoolEvent org.bukkit.event.entity.SheepRegrowWoolEvent org.bukkit.event.entity.SlimeSplitEvent

Public Member Functions

 EntityEvent (final Entity what)
 
Entity getEntity ()
 
EntityType getEntityType ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Protected Attributes

Entity entity
 

Detailed Description

Represents an Entity-related event

Definition at line 10 of file EntityEvent.java.

Member Function Documentation

Entity org.bukkit.event.entity.EntityEvent.getEntity ( )

Returns the Entity involved in this event

Returns
Entity who is involved in this event

Definition at line 22 of file EntityEvent.java.

22  {
23  return entity;
24  }
EntityType org.bukkit.event.entity.EntityEvent.getEntityType ( )

Gets the EntityType of the Entity involved in this event.

Returns
EntityType of the Entity involved in this event

Definition at line 31 of file EntityEvent.java.

References org.bukkit.entity.Entity.getType().

Referenced by org.bukkit.event.entity.CreatureSpawnEvent.getCreatureType().

31  {
32  return entity.getType();
33  }

The documentation for this class was generated from the following file: