| Package | Description | 
|---|---|
| com.destroystokyo.paper.entity | |
| com.destroystokyo.paper.event.entity | |
| org.bukkit | 
 More generalized classes in the API. 
 | 
| org.bukkit.block | 
 Classes used to manipulate the voxels in a  
world,
 including special states. | 
| org.bukkit.entity | 
 Interfaces for non-voxel objects that can exist in a  
world, including all players, monsters, projectiles, etc. | 
| org.bukkit.event.entity | |
| org.bukkit.event.vehicle | 
Events relating to vehicular entities. | 
| org.bukkit.potion | 
 Classes to represent various  
potion
 properties and manipulation. | 
| org.bukkit.util | 
 Multi and single purpose classes to facilitate various programmatic
 concepts. 
 | 
| Modifier and Type | Interface | Description | 
|---|---|---|
interface  | 
RangedEntity | 
|
interface  | 
SentientNPC | 
 Used to determine ACTUAL Living NPC's. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
LivingEntity | 
SentientNPC.getTarget() | 
 Gets the current target of this Creature 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
RangedEntity.rangedAttack(LivingEntity target,
            float charge) | 
 Attack the specified entity using a ranged attack. 
 | 
void | 
SentientNPC.setTarget(LivingEntity target) | 
 Instructs this Creature to set the specified LivingEntity as its
 target. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
LivingEntity | 
EntityKnockbackByEntityEvent.getEntity() | 
|
LivingEntity | 
WitchThrowPotionEvent.getTarget() | 
| Constructor | Description | 
|---|---|
EntityKnockbackByEntityEvent(LivingEntity entity,
                            Entity hitBy,
                            float knockbackStrength,
                            Vector acceleration) | 
|
WitchThrowPotionEvent(Witch witch,
                     LivingEntity target,
                     ItemStack potion) | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<LivingEntity> | 
World.getLivingEntities() | 
 Get a list of all living entities in this World 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double radius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xzRadius,
                       double yRadius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xRadius,
                       double yRadius,
                       double zRadius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xRadius,
                       double yRadius,
                       double zRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xzRadius,
                       double yRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double radius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double radius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xzRadius,
                       double yRadius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xRadius,
                       double yRadius,
                       double zRadius) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xRadius,
                       double yRadius,
                       double zRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xzRadius,
                       double yRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double radius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xRadius,
                       double yRadius,
                       double zRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double xzRadius,
                       double yRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
Collection<LivingEntity> | 
Location.getNearbyLivingEntities(double radius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xRadius,
                       double yRadius,
                       double zRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double xzRadius,
                       double yRadius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
default Collection<LivingEntity> | 
World.getNearbyLivingEntities(Location loc,
                       double radius,
                       Predicate<LivingEntity> predicate) | 
 Gets nearby players within the specified radius (bounding box) 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
Collection<LivingEntity> | 
Beacon.getEntitiesInRange() | 
 Returns the list of players within the beacon's range of effect. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
Structure.setAuthor(LivingEntity livingEntity) | 
 Set the name of whoever created this structure using a
  
LivingEntity. | 
| Modifier and Type | Interface | Description | 
|---|---|---|
interface  | 
AbstractHorse | 
 Represents a Horse-like creature. 
 | 
interface  | 
Ageable | 
 Represents an entity that can age and breed. 
 | 
interface  | 
Ambient | 
 Represents an ambient mob 
 | 
interface  | 
Animals | 
 Represents an Animal. 
 | 
interface  | 
ArmorStand | 
|
interface  | 
Bat | 
 Represents a Bat 
 | 
interface  | 
Blaze | 
 Represents a Blaze monster 
 | 
interface  | 
CaveSpider | 
 Represents a Spider. 
 | 
interface  | 
ChestedHorse | 
 Represents Horse-like creatures which can carry an inventory. 
 | 
interface  | 
Chicken | 
 Represents a Chicken. 
 | 
interface  | 
ComplexLivingEntity | 
 Represents a complex living entity - one that is made up of various smaller
 parts 
 | 
interface  | 
Cow | 
 Represents a Cow. 
 | 
interface  | 
Creature | 
 Represents a Creature. 
 | 
interface  | 
Creeper | 
 Represents a Creeper 
 | 
interface  | 
Donkey | 
 Represents a Donkey - variant of  
ChestedHorse. | 
interface  | 
ElderGuardian | 
 Represents an ElderGuardian - variant of  
Guardian. | 
interface  | 
EnderDragon | 
 Represents an Ender Dragon 
 | 
interface  | 
Enderman | 
 Represents an Enderman. 
 | 
interface  | 
Endermite | 
|
interface  | 
Evoker | 
 Represents an Evoker "Illager". 
 | 
interface  | 
Flying | 
 Represents a Flying Entity. 
 | 
interface  | 
Ghast | 
 Represents a Ghast. 
 | 
interface  | 
Giant | 
 Represents a Giant. 
 | 
interface  | 
Golem | 
 A mechanical creature that may harm enemies. 
 | 
interface  | 
Guardian | 
|
interface  | 
Horse | 
 Represents a Horse. 
 | 
interface  | 
HumanEntity | 
 Represents a human entity, such as an NPC or a player 
 | 
interface  | 
Husk | 
 Represents a Husk - variant of  
Zombie. | 
interface  | 
Illager | 
 Represents a type of "Illager". 
 | 
interface  | 
Illusioner | 
 Represents an Illusioner "Illager". 
 | 
interface  | 
IronGolem | 
 An iron Golem that protects Villages. 
 | 
interface  | 
Llama | 
 Represents a Llama. 
 | 
interface  | 
MagmaCube | 
 Represents a MagmaCube. 
 | 
interface  | 
Monster | 
 Represents a Monster. 
 | 
interface  | 
Mule | 
 Represents a Mule - variant of  
ChestedHorse. | 
interface  | 
MushroomCow | 
 Represents a mushroom  
Cow | 
interface  | 
NPC | 
 Represents a non-player character 
 | 
interface  | 
Ocelot | 
 A wild tameable cat 
 | 
interface  | 
Parrot | 
 Represents a Parrot. 
 | 
interface  | 
Pig | 
 Represents a Pig. 
 | 
interface  | 
PigZombie | 
 Represents a Pig Zombie. 
 | 
interface  | 
Player | 
 Represents a player, connected or not 
 | 
interface  | 
PolarBear | 
 Represents a polar bear. 
 | 
interface  | 
Rabbit | 
|
interface  | 
Sheep | 
 Represents a Sheep. 
 | 
interface  | 
Shulker | 
|
interface  | 
Silverfish | 
 Represents a Silverfish. 
 | 
interface  | 
Skeleton | 
 Represents a Skeleton. 
 | 
interface  | 
SkeletonHorse | 
 Represents a SkeletonHorse - variant of  
AbstractHorse. | 
interface  | 
Slime | 
 Represents a Slime. 
 | 
interface  | 
Snowman | 
 Represents a snowman entity 
 | 
interface  | 
Spellcaster | 
 Represents a spell casting "Illager". 
 | 
interface  | 
Spider | 
 Represents a Spider. 
 | 
interface  | 
Squid | 
 Represents a Squid. 
 | 
interface  | 
Stray | 
 Represents a Stray - variant of  
Skeleton. | 
interface  | 
Vex | 
 Represents a Vex. 
 | 
interface  | 
Villager | 
 Represents a villager NPC 
 | 
interface  | 
Vindicator | 
 Represents a Vindicator. 
 | 
interface  | 
WaterMob | 
 Represents a Water Mob 
 | 
interface  | 
Witch | 
 Represents a Witch 
 | 
interface  | 
Wither | 
 Represents a Wither boss 
 | 
interface  | 
WitherSkeleton | 
 Represents a WitherSkeleton - variant of  
Skeleton. | 
interface  | 
Wolf | 
 Represents a Wolf 
 | 
interface  | 
Zombie | 
 Represents a Zombie. 
 | 
interface  | 
ZombieHorse | 
 Represents a ZombieHorse - variant of  
AbstractHorse. | 
interface  | 
ZombieVillager | 
| Modifier and Type | Method | Description | 
|---|---|---|
LivingEntity | 
Firework.getBoostedEntity() | 
 If this firework is boosting an entity, return it 
 | 
LivingEntity | 
EvokerFangs.getOwner() | 
 Gets the  
LivingEntity which summoned the fangs. | 
LivingEntity | 
Slime.getTarget() | 
 Get the  
LivingEntity this slime is currently targeting. | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
EvokerFangs.setOwner(LivingEntity owner) | 
 Sets the  
LivingEntity which summoned the fangs. | 
void | 
Slime.setTarget(LivingEntity target) | 
 Set the  
LivingEntity target for this slime. | 
| Modifier and Type | Method | Description | 
|---|---|---|
LivingEntity | 
EntityBreedEvent.getBreeder() | 
 Gets the Entity responsible for breeding. 
 | 
LivingEntity | 
CreatureSpawnEvent.getEntity() | 
|
LivingEntity | 
EntityBreakDoorEvent.getEntity() | 
|
LivingEntity | 
EntityBreedEvent.getEntity() | 
|
LivingEntity | 
EntityCreatePortalEvent.getEntity() | 
|
LivingEntity | 
EntityDeathEvent.getEntity() | 
|
LivingEntity | 
EntityPickupItemEvent.getEntity() | 
|
LivingEntity | 
EntityResurrectEvent.getEntity() | 
|
LivingEntity | 
EntityShootBowEvent.getEntity() | 
|
LivingEntity | 
EntityTameEvent.getEntity() | 
|
LivingEntity | 
EntityBreedEvent.getFather() | 
 Gets the other parent of the newly born entity. 
 | 
LivingEntity | 
EntityBreedEvent.getMother() | 
 Gets the parent creating this entity. 
 | 
LivingEntity | 
EntityTargetLivingEntityEvent.getTarget() | 
| Modifier and Type | Method | Description | 
|---|---|---|
List<LivingEntity> | 
AreaEffectCloudApplyEvent.getAffectedEntities() | 
 Retrieves a mutable list of the effected entities 
 | 
Collection<LivingEntity> | 
PotionSplashEvent.getAffectedEntities() | 
 Retrieves a list of all effected entities 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
double | 
PotionSplashEvent.getIntensity(LivingEntity entity) | 
 Gets the intensity of the potion's effects for given entity; This
 depends on the distance to the impact center 
 | 
void | 
PotionSplashEvent.setIntensity(LivingEntity entity,
            double intensity) | 
 Overwrites the intensity for a given entity 
 | 
| Constructor | Description | 
|---|---|
AreaEffectCloudApplyEvent(AreaEffectCloud entity,
                         List<LivingEntity> affectedEntities) | 
|
PotionSplashEvent(ThrownPotion potion,
                 Map<LivingEntity,Double> affectedEntities) | 
| Modifier and Type | Method | Description | 
|---|---|---|
LivingEntity | 
VehicleExitEvent.getExited() | 
 Get the living entity that exited the vehicle. 
 | 
| Constructor | Description | 
|---|---|
VehicleExitEvent(Vehicle vehicle,
                LivingEntity exited) | 
| Modifier and Type | Method | Description | 
|---|---|---|
void | 
Potion.apply(LivingEntity to) | 
 Deprecated. 
Applies the effects that would be applied by this potion to the given
  
LivingEntity. | 
boolean | 
PotionEffect.apply(LivingEntity entity) | 
 Attempts to add the effect represented by this object to the given
  
LivingEntity. | 
| Constructor | Description | 
|---|---|
BlockIterator(LivingEntity entity) | 
 Constructs the BlockIterator. 
 | 
BlockIterator(LivingEntity entity,
             int maxDistance) | 
 Constructs the BlockIterator. 
 | 
Copyright © 2019. All rights reserved.