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.block | |
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 |
Modifier and Type | Method | Description |
---|---|---|
Pathfinder.PathResult |
Pathfinder.findPath(LivingEntity target) |
Calculates a destination for the Entity to navigate to to reach the target entity,
but does not set it as the current target.
|
default boolean |
Pathfinder.moveTo(LivingEntity target) |
Calculates a destination for the Entity to navigate to to reach the target entity,
and sets it with default speed.
|
default boolean |
Pathfinder.moveTo(LivingEntity target,
double speed) |
Calculates a destination for the Entity to navigate to to reach the target entity,
and sets it with specified speed.
|
void |
RangedEntity.rangedAttack(LivingEntity target,
float charge) |
Attack the specified entity using a ranged attack.
|
Modifier and Type | Method | Description |
---|---|---|
LivingEntity |
EntityKnockbackByEntityEvent.getEntity() |
|
LivingEntity |
SlimeTargetLivingEntityEvent.getTarget() |
Get the targeted entity
|
LivingEntity |
WitchThrowPotionEvent.getTarget() |
Modifier and Type | Method | Description |
---|---|---|
Collection<LivingEntity> |
EnderDragonFireballHitEvent.getTargets() |
The living entities hit by fireball
May be null if no entities were hit
|
Constructor | Description |
---|---|
EntityKnockbackByEntityEvent(LivingEntity entity,
Entity hitBy,
float knockbackStrength,
Vector acceleration) |
|
SlimeTargetLivingEntityEvent(Slime slime,
LivingEntity target) |
|
WitchThrowPotionEvent(Witch witch,
LivingEntity target,
ItemStack potion) |
Constructor | Description |
---|---|
EnderDragonFireballHitEvent(DragonFireball fireball,
Collection<LivingEntity> targets,
AreaEffectCloud areaEffectCloud) |
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 |
Cod |
Represents a cod fish.
|
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 |
Dolphin |
|
interface |
Donkey |
Represents a Donkey - variant of
ChestedHorse . |
interface |
Drowned |
Drowned zombie.
|
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 |
Fish |
Represents a fish entity.
|
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 |
Mob |
Represents a Mob.
|
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 |
Phantom |
Represents a phantom.
|
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 |
PufferFish |
Represents a puffer fish.
|
interface |
Rabbit |
|
interface |
Salmon |
Represents a salmon fish.
|
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 |
TropicalFish |
Tropical fish.
|
interface |
Turtle |
Represents a turtle.
|
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 |
Mob.getTarget() |
Gets the current target of this Mob
|
Modifier and Type | Method | Description |
---|---|---|
void |
EvokerFangs.setOwner(LivingEntity owner) |
Sets the
LivingEntity which summoned the fangs. |
void |
Mob.setTarget(LivingEntity target) |
Instructs this Mob to set the specified LivingEntity as its target.
|
Modifier and Type | Method | Description |
---|---|---|
LivingEntity |
BlockDispenseArmorEvent.getTargetEntity() |
Get the living entity on which the armor was dispensed.
|
Constructor | Description |
---|---|
BlockDispenseArmorEvent(Block block,
ItemStack dispensed,
LivingEntity target) |
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) |
|
VehicleExitEvent(Vehicle vehicle,
LivingEntity exited,
boolean isCancellable) |
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 © 2020. All rights reserved.