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 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.event.entity
Modifier and TypeMethodDescriptionEntityLoadCrossbowEvent.getEntity()
EntityMoveEvent.getEntity()
ModifierConstructorDescriptionEntityLoadCrossbowEvent(@NotNull LivingEntity entity, @Nullable ItemStack crossbow, @NotNull EquipmentSlot hand)
EntityMoveEvent(@NotNull LivingEntity entity, @NotNull Location from, @NotNull Location to)
-
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 TypeMethodDescriptionWorld.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 players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities(@NotNull Location loc, double xzRadius, double yRadius)
Gets nearby players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities(@NotNull Location loc, double xRadius, double yRadius, double zRadius)
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 players 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 players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities(@NotNull Location loc, double radius, @Nullable Predicate<LivingEntity> predicate)
Gets nearby players 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 players 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 players within the specified radius (bounding box)default @NotNull Collection<LivingEntity>
World.getNearbyLivingEntities(@NotNull Location loc, double radius, @Nullable Predicate<LivingEntity> predicate)
Gets nearby players 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
Represents a villager NPCinterface
Represents an entity that can age.interface
Represents an ambient mobinterface
Represents an Animal.interface
interface
Represents a Batinterface
Represents a Bee.interface
Represents a Blaze monsterinterface
Represents an entity that can age and breed.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 Evoker "Illager".interface
Represents a fish entity.interface
Represents a Flying Entity.interface
What does the fox say?interface
Represents a Ghast.interface
Represents a Giant.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 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 ofSkeleton
.interface
Represents a Strider.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
Represents a Water Mobinterface
Represents a Witchinterface
Represents a Wither bossinterface
Represents a WitherSkeleton - variant ofSkeleton
.interface
Represents a Wolfinterface
Represents a Zoglin.interface
Represents a Zombie.interface
Represents a ZombieHorse - variant ofAbstractHorse
.interface
Modifier and TypeMethodDescriptionFirework.getBoostedEntity()
If this firework is boosting an entity, return itEvokerFangs.getOwner()
Gets theLivingEntity
which summoned the fangs.Mob.getTarget()
Gets the current target of this MobModifier and TypeMethodDescriptionvoid
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. -
Uses of LivingEntity in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockDispenseArmorEvent.getTargetEntity()
Get the living entity on which the armor was dispensed.ModifierConstructorDescriptionBlockDispenseArmorEvent(@NotNull Block block, @NotNull ItemStack dispensed, @NotNull LivingEntity target)
-
Uses of LivingEntity in org.bukkit.event.entity
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)
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.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.