| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.entity.minecart | Interfaces for various  Minecarttypes. | 
| org.bukkit.event.block | |
| org.bukkit.event.entity | |
| org.bukkit.event.hanging | Eventsrelating toentities that hang. | 
| org.bukkit.event.painting | |
| org.bukkit.event.player | |
| org.bukkit.event.vehicle | Eventsrelating tovehicular entities. | 
| org.bukkit.inventory | Classes involved in manipulating player inventories and item interactions. | 
| org.spigotmc.event.entity | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends Entity>  | World. getEntitiesByClass(Class<T>... classes)Deprecated.  | 
| <T extends Entity>  | World. getEntitiesByClass(Class<T> cls)Get a collection of all entities in this World matching the given
 class/interface | 
| <T extends Entity>  | World. spawn(Location location,
     Class<T> clazz)Spawn an entity of a specific class at the given  Location | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity[] | Chunk. getEntities()Get a list of all entities in the chunk. | 
| Entity | World. spawnEntity(Location loc,
           EntityType type)Creates a entity at the given  Location | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Entity> | World. getEntities()Get a list of all entities in this World | 
| Collection<Entity> | World. getEntitiesByClasses(Class<?>... classes)Get a collection of all entities in this World matching any of the
 given classes/interfaces | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AgeableRepresents an entity that can age and breed. | 
| interface  | AmbientRepresents an ambient mob | 
| interface  | AnimalsRepresents an Animal. | 
| interface  | ArmorStand | 
| interface  | ArrowRepresents an arrow. | 
| interface  | BatRepresents a Bat | 
| interface  | BlazeRepresents a Blaze monster | 
| interface  | BoatRepresents a boat entity. | 
| interface  | CaveSpiderRepresents a Spider. | 
| interface  | ChickenRepresents a Chicken. | 
| interface  | ComplexEntityPartRepresents a single part of a  ComplexLivingEntity | 
| interface  | ComplexLivingEntityRepresents a complex living entity - one that is made up of various smaller
 parts | 
| interface  | CowRepresents a Cow. | 
| interface  | CreatureRepresents a Creature. | 
| interface  | CreeperRepresents a Creeper | 
| interface  | DamageableRepresents an  Entitythat has health and can take damage. | 
| interface  | EggRepresents a thrown egg. | 
| interface  | EnderCrystalA crystal that heals nearby EnderDragons | 
| interface  | EnderDragonRepresents an Ender Dragon | 
| interface  | EnderDragonPartRepresents an ender dragon part | 
| interface  | EndermanRepresents an Enderman. | 
| interface  | Endermite | 
| interface  | EnderPearlRepresents a thrown Ender Pearl entity | 
| interface  | EnderSignalRepresents an Ender Signal, which is often created upon throwing an ender
 eye | 
| interface  | ExperienceOrbRepresents an Experience Orb. | 
| interface  | ExplosiveA representation of an explosive entity | 
| interface  | FallingBlockRepresents a falling block | 
| interface  | FallingSandDeprecated. 
 See  FallingBlock | 
| interface  | FireballRepresents a Fireball. | 
| interface  | Firework | 
| interface  | FishDeprecated. 
 in favor of  FishHook | 
| interface  | FishHookRepresents a fishing hook. | 
| interface  | FlyingRepresents a Flying Entity. | 
| interface  | GhastRepresents a Ghast. | 
| interface  | GiantRepresents a Giant. | 
| interface  | GolemA mechanical creature that may harm enemies. | 
| interface  | Guardian | 
| interface  | HangingRepresents a Hanging entity | 
| interface  | HorseRepresents a Horse. | 
| interface  | HumanEntityRepresents a human entity, such as an NPC or a player | 
| interface  | IronGolemAn iron Golem that protects Villages. | 
| interface  | ItemRepresents an Item. | 
| interface  | ItemFrameRepresents an Item Frame | 
| interface  | LargeFireballRepresents a large  Fireball | 
| interface  | LeashHitchRepresents a Leash Hitch on a fence | 
| interface  | LightningStrikeRepresents an instance of a lightning strike. | 
| interface  | LivingEntityRepresents a living entity, such as a monster or player | 
| interface  | MagmaCubeRepresents a MagmaCube. | 
| interface  | MinecartRepresents a minecart entity. | 
| interface  | MonsterRepresents a Monster. | 
| interface  | MushroomCowRepresents a mushroom  Cow | 
| interface  | NPCRepresents a non-player character | 
| interface  | OcelotA wild tameable cat | 
| interface  | PaintingRepresents a Painting. | 
| interface  | PigRepresents a Pig. | 
| interface  | PigZombieRepresents a Pig Zombie. | 
| interface  | PlayerRepresents a player, connected or not | 
| interface  | ProjectileRepresents a shootable entity. | 
| interface  | Rabbit | 
| interface  | SheepRepresents a Sheep. | 
| interface  | SilverfishRepresents a Silverfish. | 
| interface  | SkeletonRepresents a Skeleton. | 
| interface  | SlimeRepresents a Slime. | 
| interface  | SmallFireballRepresents a small  Fireball | 
| interface  | SnowballRepresents a snowball. | 
| interface  | SnowmanRepresents a snowman entity | 
| interface  | SpiderRepresents a Spider. | 
| interface  | SquidRepresents a Squid. | 
| interface  | ThrownExpBottleRepresents a thrown Experience bottle. | 
| interface  | ThrownPotionRepresents a thrown potion bottle | 
| interface  | TNTPrimedRepresents a Primed TNT. | 
| interface  | VehicleRepresents a vehicle entity. | 
| interface  | VillagerRepresents a villager NPC | 
| interface  | WaterMobRepresents a Water Mob | 
| interface  | WeatherRepresents a Weather related entity, such as a storm | 
| interface  | WitchRepresents a Witch | 
| interface  | WitherRepresents a Wither boss | 
| interface  | WitherSkullRepresents a wither skull  Fireball. | 
| interface  | WolfRepresents a Wolf | 
| interface  | ZombieRepresents a Zombie. | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | LivingEntity. getLeashHolder()Gets the entity that is currently leading this entity. | 
| Entity | Entity. getPassenger()Gets the primary passenger of a vehicle. | 
| Entity | TNTPrimed. getSource()Gets the source of this primed TNT. | 
| Entity | Entity. getVehicle()Get the vehicle that this player is inside. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Entity> | EntityType. getEntityClass() | 
| Class<? extends Entity> | CreatureType. getEntityClass()Deprecated.  | 
| List<Entity> | Entity. getNearbyEntities(double x,
                 double y,
                 double z)Returns a list of entities within a bounding box centered around this
 entity | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Damageable. _INVALID_damage(int amount,
               Entity source)Deprecated.  | 
| void | Damageable. damage(double amount,
      Entity source)Deals the given amount of damage to this entity, from a specified
 entity. | 
| boolean | LivingEntity. hasLineOfSight(Entity other)Checks whether the living entity has block line of sight to another. | 
| boolean | LivingEntity. setLeashHolder(Entity holder)Sets the leash on this entity to be held by the supplied entity. | 
| boolean | Entity. setPassenger(Entity passenger)Set the passenger of a vehicle. | 
| boolean | Entity. teleport(Entity destination)Teleports this entity to the target Entity. | 
| boolean | Entity. teleport(Entity destination,
        PlayerTeleportEvent.TeleportCause cause)Teleports this entity to the target Entity. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | CommandMinecart | 
| interface  | ExplosiveMinecartRepresents a Minecart with TNT inside it that can explode when triggered. | 
| interface  | HopperMinecartRepresents a Minecart with a Hopper inside it | 
| interface  | PoweredMinecartRepresents a powered minecart. | 
| interface  | RideableMinecartRepresents a minecart that can have certain  entitiesas passengers. | 
| interface  | SpawnerMinecartRepresents a Minecart with an  entity spawnerinside it. | 
| interface  | StorageMinecartRepresents a minecart with a chest. | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | EntityBlockFormEvent. getEntity()Get the entity that formed the block. | 
| Entity | BlockIgniteEvent. getIgnitingEntity()Gets the entity who ignited this block | 
| Constructor and Description | 
|---|
| BlockIgniteEvent(Block theBlock,
                BlockIgniteEvent.IgniteCause cause,
                Entity ignitingEntity) | 
| BlockIgniteEvent(Block theBlock,
                BlockIgniteEvent.IgniteCause cause,
                Entity ignitingEntity,
                Block ignitingBlock) | 
| EntityBlockFormEvent(Entity entity,
                    Block block,
                    BlockState blockstate) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Entity | EntityEvent. entity | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | EntityCombustByEntityEvent. getCombuster()Get the entity that caused the combustion event. | 
| Entity | EntityDamageByEntityEvent. getDamager()Returns the entity that damaged the defender. | 
| Entity | PlayerLeashEntityEvent. getEntity()Returns the entity being leashed. | 
| Entity | EntityEvent. getEntity()Returns the Entity involved in this event | 
| Entity | PlayerLeashEntityEvent. getLeashHolder()Returns the entity that is holding the leash. | 
| Entity | EntityShootBowEvent. getProjectile()Gets the projectile which will be launched by this event | 
| Entity | EntityTargetEvent. getTarget()Get the entity that this is targeting. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EntityShootBowEvent. setProjectile(Entity projectile)Replaces the projectile which will be launched | 
| void | EntityTargetEvent. setTarget(Entity target)Set the entity that you want the mob to target instead. | 
| void | EntityTargetLivingEntityEvent. setTarget(Entity target)Set the Entity that you want the mob to target. | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | HangingBreakByEntityEvent. getRemover()Gets the entity that removed the hanging entity | 
| Constructor and Description | 
|---|
| HangingBreakByEntityEvent(Hanging hanging,
                         Entity remover) | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | PaintingBreakByEntityEvent. getRemover()Deprecated.  Gets the entity that removed the painting | 
| Constructor and Description | 
|---|
| PaintingBreakByEntityEvent(Painting painting,
                          Entity remover)Deprecated.  | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Entity | PlayerInteractEntityEvent. clickedEntity | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | PlayerFishEvent. getCaught()Gets the entity caught by the player. | 
| Entity | PlayerShearEntityEvent. getEntity()Gets the entity the player is shearing | 
| Entity | PlayerInteractEntityEvent. getRightClicked()Gets the entity that was rightclicked by the player. | 
| Constructor and Description | 
|---|
| PlayerFishEvent(Player player,
               Entity entity,
               Fish hookEntity,
               PlayerFishEvent.State state) | 
| PlayerFishEvent(Player player,
               Entity entity,
               PlayerFishEvent.State state)Deprecated. 
 replaced by  PlayerFishEvent.PlayerFishEvent(Player, Entity, Fish,
     State)to include theFishhook entity. | 
| PlayerInteractAtEntityEvent(Player who,
                           Entity clickedEntity,
                           Vector position) | 
| PlayerInteractEntityEvent(Player who,
                         Entity clickedEntity) | 
| PlayerShearEntityEvent(Player who,
                      Entity what) | 
| PlayerUnleashEntityEvent(Entity entity,
                        Player player) | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | VehicleDestroyEvent. getAttacker()Gets the Entity that has destroyed the vehicle, potentially null | 
| Entity | VehicleDamageEvent. getAttacker()Gets the Entity that is attacking the vehicle | 
| Entity | VehicleEnterEvent. getEntered()Gets the Entity that entered the vehicle. | 
| Entity | VehicleEntityCollisionEvent. getEntity() | 
| Constructor and Description | 
|---|
| VehicleDamageEvent(Vehicle vehicle,
                  Entity attacker,
                  double damage) | 
| VehicleDamageEvent(Vehicle vehicle,
                  Entity attacker,
                  int damage)Deprecated.  | 
| VehicleDestroyEvent(Vehicle vehicle,
                   Entity attacker) | 
| VehicleEnterEvent(Vehicle vehicle,
                 Entity entered) | 
| VehicleEntityCollisionEvent(Vehicle vehicle,
                           Entity entity) | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | EntityEquipment. getHolder()Get the entity this EntityEquipment belongs to | 
| Modifier and Type | Method and Description | 
|---|---|
| Entity | EntityDismountEvent. getDismounted() | 
| Entity | EntityMountEvent. getMount() | 
| Constructor and Description | 
|---|
| EntityDismountEvent(Entity what,
                   Entity dismounted) | 
| EntityMountEvent(Entity what,
                Entity mount) | 
Copyright © 2015. All rights reserved.