Uses of Interface
org.bukkit.entity.LivingEntity
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Events
relating to vehicular entities
.Classes involved in manipulating player inventories and item interactions.
Classes to represent various
potion
properties and manipulation.Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of LivingEntity in com.destroystokyo.paper.entity
Modifier and TypeMethodDescriptionPathfinder.findPath
(@NotNull 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
(@NotNull 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
(@NotNull 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
(@NotNull LivingEntity target, float charge) Attack the specified entity using a ranged attack. -
Uses of LivingEntity in com.destroystokyo.paper.event.entity
Modifier and TypeMethodDescriptionEntityJumpEvent.getEntity()
EntityKnockbackByEntityEvent.getEntity()
SlimeTargetLivingEntityEvent.getTarget()
Get the targeted entityWitchThrowPotionEvent.getTarget()
Modifier and TypeMethodDescriptionEnderDragonFireballHitEvent.getTargets()
The living entities hit by fireball May be null if no entities were hitModifierConstructorDescriptionEntityJumpEvent
(@NotNull LivingEntity entity) EntityKnockbackByEntityEvent
(@NotNull LivingEntity entity, @NotNull Entity hitBy, float knockbackStrength, @NotNull Vector acceleration) SlimeTargetLivingEntityEvent
(@NotNull Slime slime, @NotNull LivingEntity target) WitchThrowPotionEvent
(@NotNull Witch witch, @NotNull LivingEntity target, @Nullable ItemStack potion) ModifierConstructorDescriptionEnderDragonFireballHitEvent
(@NotNull DragonFireball fireball, @Nullable Collection<LivingEntity> targets, @NotNull AreaEffectCloud areaEffectCloud) -
Uses of LivingEntity in io.papermc.paper.entity
Modifier and TypeInterfaceDescriptioninterface
Entities that can have their collars colored.interface
Represents a fish that can school with other fish. -
Uses of LivingEntity in io.papermc.paper.event.entity
Modifier and TypeMethodDescriptionEntityFertilizeEggEvent.getEntity()
EntityLoadCrossbowEvent.getEntity()
EntityMoveEvent.getEntity()
EntityFertilizeEggEvent.getFather()
Gets the other parent of the newly born entity.EntityFertilizeEggEvent.getMother()
Gets the parent creating this entity.Modifier and TypeMethodDescriptionWaterBottleSplashEvent.getAffectedEntities()
Deprecated.WaterBottleSplashEvent.getToDamage()
Gets an immutable collection of entities that will take damage as a result of this event.WaterBottleSplashEvent.getToExtinguish()
Get a mutable collection of entities that will be extinguished as a result of this event.WaterBottleSplashEvent.getToRehydrate()
Get a mutable collection of entities that will be rehydrated by this.Modifier and TypeMethodDescriptionvoid
WaterBottleSplashEvent.damageAsWaterSensitive
(@NotNull LivingEntity entity) Adds this entity to the group that will be damagedvoid
WaterBottleSplashEvent.doNotDamageAsWaterSensitive
(@NotNull LivingEntity entity) Removes this entity from the group that will be damaged.double
WaterBottleSplashEvent.getIntensity
(@NotNull LivingEntity entity) Deprecated.check ifWaterBottleSplashEvent.getToDamage()
contains an entityvoid
WaterBottleSplashEvent.setIntensity
(@NotNull LivingEntity entity, double intensity) Deprecated.useWaterBottleSplashEvent.damageAsWaterSensitive(LivingEntity)
orWaterBottleSplashEvent.doNotDamageAsWaterSensitive(LivingEntity)
to change which entities are damagedModifierConstructorDescriptionEntityFertilizeEggEvent
(@NotNull LivingEntity mother, @NotNull LivingEntity father, @Nullable Player breeder, @Nullable ItemStack bredWith, int experience) EntityLoadCrossbowEvent
(@NotNull LivingEntity entity, @Nullable ItemStack crossbow, @NotNull EquipmentSlot hand) EntityMoveEvent
(@NotNull LivingEntity entity, @NotNull Location from, @NotNull Location to) ModifierConstructorDescriptionWaterBottleSplashEvent
(@NotNull ThrownPotion potion, @NotNull Map<LivingEntity, Double> affectedEntities, @NotNull Set<LivingEntity> rehydrate, @NotNull Set<LivingEntity> extinguish) WaterBottleSplashEvent
(@NotNull ThrownPotion potion, @NotNull Map<LivingEntity, Double> affectedEntities, @NotNull Set<LivingEntity> rehydrate, @NotNull Set<LivingEntity> extinguish) -
Uses of LivingEntity in io.papermc.paper.event.player
Modifier and TypeMethodDescriptionPlayerNameEntityEvent.getEntity()
Gets the entity involved in this event.Modifier and TypeMethodDescriptionvoid
PlayerNameEntityEvent.setEntity
(@NotNull LivingEntity entity) Sets the entity involved in this event.ModifierConstructorDescriptionPlayerNameEntityEvent
(@NotNull Player player, @NotNull LivingEntity entity, @NotNull Component name, boolean persistent) -
Uses of LivingEntity in org.bukkit
Modifier and TypeMethodDescriptionRegionAccessor.getLivingEntities()
Get a list of all living entities in this RegionAccessorWorld.getLivingEntities()
Get a list of all living entities in this WorldLocation.getNearbyLivingEntities
(double radius) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double xzRadius, double yRadius) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double xRadius, double yRadius, double zRadius) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double xRadius, double yRadius, double zRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double xzRadius, double yRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double radius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double radius) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xzRadius, double yRadius) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xRadius, double yRadius, double zRadius) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xRadius, double yRadius, double zRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xzRadius, double yRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double radius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box)Modifier and TypeMethodDescriptionLocation.getNearbyLivingEntities
(double xRadius, double yRadius, double zRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double xzRadius, double yRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)Location.getNearbyLivingEntities
(double radius, @Nullable Predicate<LivingEntity> predicate) Gets nearby players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xRadius, double yRadius, double zRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double xzRadius, double yRadius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities
(@NotNull Location loc, double radius, @Nullable Predicate<LivingEntity> predicate) Gets nearby LivingEntities within the specified radius (bounding box) -
Uses of LivingEntity in org.bukkit.block
Modifier and TypeMethodDescriptionBeacon.getEntitiesInRange()
Returns the list of players within the beacon's range of effect.Modifier and TypeMethodDescriptionvoid
Structure.setAuthor
(@NotNull LivingEntity livingEntity) Set the name of whoever created this structure using aLivingEntity
. -
Uses of LivingEntity in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents a Horse-like creature.interface
This interface defines or represents the abstract concept of skeleton-like entities on the server.interface
Represents a villager NPCinterface
Represents an entity that can age.interface
An Allay.interface
Represents an ambient mobinterface
Represents an Animal.interface
interface
An Axolotl.interface
Represents a Batinterface
Represents a Bee.interface
Represents a Blaze monsterinterface
Represents an entity that can age and breed.interface
Represents a Camel.interface
Meow.interface
Represents a Spider.interface
Represents Horse-like creatures which can carry an inventory.interface
Represents a Chicken.interface
Represents a cod fish.interface
Represents a complex living entity - one that is made up of various smaller partsinterface
Represents a Cow.interface
Represents a Creature.interface
Represents a Creeperinterface
interface
Represents a Donkey - variant ofChestedHorse
.interface
Drowned zombie.interface
Represents an ElderGuardian - variant ofGuardian
.interface
Represents an Ender Dragoninterface
Represents an Enderman.interface
interface
Represents an Enemyinterface
Represents an Evoker "Illager".interface
Represents a fish entity.interface
Represents a Flying Entity.interface
What does the fox say?interface
A Frog.interface
Represents a Ghast.interface
Represents a Giant.interface
A Glow Squid.interface
A Goat.interface
A mechanical creature that may harm enemies.interface
interface
Represents a Hoglin.interface
Represents a Horse.interface
Represents a human entity, such as an NPC or a playerinterface
Represents a Husk - variant ofZombie
.interface
Represents a type of "Illager".interface
Represents an Illusioner "Illager".interface
An iron Golem that protects Villages.interface
Represents a Llama.interface
Represents a MagmaCube.interface
Represents a Mob.interface
Represents a Monster.interface
Represents a Mule - variant ofChestedHorse
.interface
Represents a mushroomCow
interface
Represents a non-player characterinterface
A wild tameable catinterface
Panda entity.interface
Represents a Parrot.interface
Represents a phantom.interface
Represents a Pig.interface
Represents a Piglin.interface
Piglin / Piglin Brute.interface
Represents a Piglin Brute.interface
Represents a Pig Zombie.interface
Illager entity.interface
Represents a player, connected or notinterface
Represents a polar bear.interface
Represents a puffer fish.interface
interface
interface
Illager beast.interface
Represents a salmon fish.interface
Represents a Sheep.interface
interface
Represents a Silverfish.interface
Represents a Skeleton.interface
Represents a SkeletonHorse - variant ofAbstractHorse
.interface
Represents a Slime.interface
Represents a Sniffer.interface
Represents a snowman entityinterface
Represents a spell casting "Illager".interface
Represents a Spider.interface
Represents a Squid.interface
Represents an entity which may be saddled, ridden and steered using an item.interface
Represents a Stray - variant ofAbstractSkeleton
.interface
Represents a Strider.interface
A babyFrog
.interface
interface
Represents a trader Llama.interface
Tropical fish.interface
Represents a turtle.interface
Represents a Vex.interface
Represents a villager NPCinterface
Represents a Vindicator.interface
Represents a wandering trader NPCinterface
A Warden.interface
Represents a Water Mobinterface
Represents a Witchinterface
Represents a Wither bossinterface
Represents a WitherSkeleton - variant ofAbstractSkeleton
.interface
Represents a Wolfinterface
Represents a Zoglin.interface
Represents a Zombie.interface
Represents a ZombieHorse - variant ofAbstractHorse
.interface
Modifier and TypeMethodDescriptionFirework.getAttachedTo()
Get theLivingEntity
to which this firework is attached.default @Nullable LivingEntity
Firework.getBoostedEntity()
Deprecated.Warden.getEntityAngryAt()
Gets theLivingEntity
at which this warden is most angry.EvokerFangs.getOwner()
Gets theLivingEntity
which summoned the fangs.Mob.getTarget()
Gets the current target of this MobWither.getTarget
(@NotNull Wither.Head head) This method will get the target of individual headsWither.Head
of the wither.Modifier and TypeMethodDescriptionvoid
Goat.ram
(@NotNull LivingEntity entity) Makes the goat ram at the specified entityvoid
Player.sendEquipmentChange
(@NotNull LivingEntity entity, @NotNull Map<EquipmentSlot, ItemStack> items) Send multiple equipment changes for the target entity.void
Player.sendEquipmentChange
(@NotNull LivingEntity entity, @NotNull EquipmentSlot slot, @Nullable ItemStack item) Send an equipment change for the target entity.boolean
Firework.setAttachedTo
(@Nullable LivingEntity entity) Set theLivingEntity
to which this firework is attached.void
EvokerFangs.setOwner
(@Nullable LivingEntity owner) Sets theLivingEntity
which summoned the fangs.void
Mob.setTarget
(@Nullable LivingEntity target) Instructs this Mob to set the specified LivingEntity as its target.void
Wither.setTarget
(@NotNull Wither.Head head, @Nullable LivingEntity target) This method will set the target of individual headsWither.Head
of the wither.void
Wither.setTarget
(@Nullable LivingEntity target) Instructs this Mob to set the specified LivingEntity as its target. -
Uses of LivingEntity in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockDispenseArmorEvent.getTargetEntity()
Get the living entity on which the armor was dispensed.Modifier and TypeMethodDescriptionBellResonateEvent.getResonatedEntities()
Get a mutable list of allLivingEntities
to be highlighted by the bell's resonating.ModifierConstructorDescriptionBlockDispenseArmorEvent
(@NotNull Block block, @NotNull ItemStack dispensed, @NotNull LivingEntity target) ModifierConstructorDescriptionBellResonateEvent
(@NotNull Block theBlock, @NotNull List<LivingEntity> resonatedEntities) -
Uses of LivingEntity in org.bukkit.event.entity
Modifier and TypeFieldDescriptionprotected final Map<LivingEntity,
Double> PotionSplashEvent.affectedEntities
Modifier and TypeMethodDescriptionEntityBreedEvent.getBreeder()
Gets the Entity responsible for breeding.ArrowBodyCountChangeEvent.getEntity()
CreatureSpawnEvent.getEntity()
EntityBreakDoorEvent.getEntity()
EntityBreedEvent.getEntity()
EntityCreatePortalEvent.getEntity()
Deprecated.EntityDeathEvent.getEntity()
EntityPickupItemEvent.getEntity()
EntityResurrectEvent.getEntity()
EntityShootBowEvent.getEntity()
EntityTameEvent.getEntity()
EntityBreedEvent.getFather()
Gets the other parent of the newly born entity.EntityBreedEvent.getMother()
Gets the parent creating this entity.EntityTargetLivingEntityEvent.getTarget()
Modifier and TypeMethodDescriptionAreaEffectCloudApplyEvent.getAffectedEntities()
Retrieves a mutable list of the effected entitiesPotionSplashEvent.getAffectedEntities()
Retrieves a list of all effected entitiesModifier and TypeMethodDescriptiondouble
PotionSplashEvent.getIntensity
(@NotNull LivingEntity entity) Gets the intensity of the potion's effects for given entity; This depends on the distance to the impact centervoid
PotionSplashEvent.setIntensity
(@NotNull LivingEntity entity, double intensity) Overwrites the intensity for a given entityModifierConstructorDescriptionArrowBodyCountChangeEvent
(@NotNull LivingEntity entity, int oldAmount, int newAmount, boolean isReset) CreatureSpawnEvent
(@NotNull LivingEntity spawnee, @NotNull CreatureSpawnEvent.SpawnReason spawnReason) EntityBreakDoorEvent
(@NotNull LivingEntity entity, @NotNull Block targetBlock) EntityBreedEvent
(@NotNull LivingEntity child, @NotNull LivingEntity mother, @NotNull LivingEntity father, @Nullable LivingEntity breeder, @Nullable ItemStack bredWith, int experience) EntityCreatePortalEvent
(@NotNull LivingEntity what, @NotNull List<BlockState> blocks, @NotNull PortalType type) Deprecated.EntityDeathEvent
(@NotNull LivingEntity entity, @NotNull List<ItemStack> drops) EntityDeathEvent
(@NotNull LivingEntity what, @NotNull List<ItemStack> drops, int droppedExp) EntityPickupItemEvent
(@NotNull LivingEntity entity, @NotNull Item item, int remaining) EntityPotionEffectEvent
(@NotNull LivingEntity livingEntity, @Nullable PotionEffect oldEffect, @Nullable PotionEffect newEffect, @NotNull EntityPotionEffectEvent.Cause cause, @NotNull EntityPotionEffectEvent.Action action, boolean override) Deprecated.EntityResurrectEvent
(@NotNull LivingEntity what, @Nullable EquipmentSlot hand) EntityShootBowEvent
(@NotNull LivingEntity shooter, @Nullable ItemStack bow, @NotNull Entity projectile, float force) Deprecated.EntityShootBowEvent
(@NotNull LivingEntity shooter, @Nullable ItemStack bow, @NotNull ItemStack arrowItem, @NotNull Entity projectile, float force) Deprecated.EntityShootBowEvent
(@NotNull LivingEntity shooter, @Nullable ItemStack bow, @Nullable ItemStack consumable, @NotNull Entity projectile, @NotNull EquipmentSlot hand, float force, boolean consumeItem) EntityTameEvent
(@NotNull LivingEntity entity, @NotNull AnimalTamer owner) EntityTargetLivingEntityEvent
(@NotNull Entity entity, @Nullable LivingEntity target, @Nullable EntityTargetEvent.TargetReason reason) EntityToggleGlideEvent
(@NotNull LivingEntity who, boolean isGliding) EntityToggleSwimEvent
(@NotNull LivingEntity who, boolean isSwimming) ModifierConstructorDescriptionAreaEffectCloudApplyEvent
(@NotNull AreaEffectCloud entity, @NotNull List<LivingEntity> affectedEntities) PotionSplashEvent
(@NotNull ThrownPotion potion, @NotNull Map<LivingEntity, Double> affectedEntities) -
Uses of LivingEntity in org.bukkit.event.vehicle
Modifier and TypeMethodDescriptionVehicleExitEvent.getExited()
Get the living entity that exited the vehicle.ModifierConstructorDescriptionVehicleExitEvent
(@NotNull Vehicle vehicle, @NotNull LivingEntity exited) VehicleExitEvent
(@NotNull Vehicle vehicle, @NotNull LivingEntity exited, boolean isCancellable) -
Uses of LivingEntity in org.bukkit.inventory
Modifier and TypeMethodDescriptionItemStack.damage
(int amount, LivingEntity livingEntity) Damages this itemstack by the specified amount. -
Uses of LivingEntity in org.bukkit.potion
Modifier and TypeMethodDescriptionvoid
Potion.apply
(@NotNull LivingEntity to) Deprecated.Applies the effects that would be applied by this potion to the givenLivingEntity
.boolean
PotionEffect.apply
(@NotNull LivingEntity entity) Attempts to add the effect represented by this object to the givenLivingEntity
. -
Uses of LivingEntity in org.bukkit.util
ModifierConstructorDescriptionBlockIterator
(@NotNull LivingEntity entity) Constructs the BlockIterator.BlockIterator
(@NotNull LivingEntity entity, int maxDistance) Constructs the BlockIterator.
WaterBottleSplashEvent.getToDamage()