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 org.bukkit
Modifier and TypeMethodDescription<T extends LivingEntity>
TWorld.spawn
(Location location, Class<T> clazz, CreatureSpawnEvent.SpawnReason spawnReason, boolean randomizeData, Consumer<? super T> function) Creates a new entity at the givenLocation
with the supplied function run before the entity is added to the world.Modifier and TypeMethodDescriptionRegionAccessor.getLivingEntities()
Get a list of all living entities in this RegionAccessorWorld.getLivingEntities()
Get a list of all living entities in this World -
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
(LivingEntity livingEntity) Set the name of whoever created this structure using aLivingEntity
.boolean
Conduit.setTarget
(LivingEntity target) Set the conduit's hunting target. -
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 Breeze.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.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
(Wither.Head head) This method will get the target of individual headsWither.Head
of the wither.Modifier and TypeMethodDescriptionvoid
Player.sendEquipmentChange
(LivingEntity entity, Map<EquipmentSlot, ItemStack> items) Send multiple equipment changes for the target entity.void
Player.sendEquipmentChange
(LivingEntity entity, EquipmentSlot slot, ItemStack item) Send an equipment change for the target entity.void
Player.sendPotionEffectChange
(LivingEntity entity, PotionEffect effect) Change a potion effect for the target entity.void
Player.sendPotionEffectChangeRemove
(LivingEntity entity, PotionEffectType type) Remove a potion effect for the target entity.boolean
Firework.setAttachedTo
(LivingEntity entity) Set theLivingEntity
to which this firework is attached.void
EvokerFangs.setOwner
(LivingEntity owner) Sets theLivingEntity
which summoned the fangs.void
Mob.setTarget
(LivingEntity target) Instructs this Mob to set the specified LivingEntity as its target.void
Wither.setTarget
(LivingEntity target) Instructs this Mob to set the specified LivingEntity as its target.void
Wither.setTarget
(Wither.Head head, LivingEntity target) This method will set the target of individual headsWither.Head
of the wither. -
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
(Block block, ItemStack dispensed, LivingEntity target) ModifierConstructorDescriptionBellResonateEvent
(Block theBlock, List<LivingEntity> resonatedEntities) -
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()
EntityKnockbackEvent.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
(LivingEntity entity) Gets the intensity of the potion's effects for given entity; This depends on the distance to the impact centervoid
PotionSplashEvent.setIntensity
(LivingEntity entity, double intensity) Overwrites the intensity for a given entityModifierConstructorDescriptionArrowBodyCountChangeEvent
(LivingEntity entity, int oldAmount, int newAmount, boolean isReset) CreatureSpawnEvent
(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason) EntityBreakDoorEvent
(LivingEntity entity, Block targetBlock) EntityBreedEvent
(LivingEntity child, LivingEntity mother, LivingEntity father, LivingEntity breeder, ItemStack bredWith, int experience) EntityCreatePortalEvent
(LivingEntity what, List<BlockState> blocks, PortalType type) Deprecated.EntityDeathEvent
(LivingEntity entity, List<ItemStack> drops) EntityDeathEvent
(LivingEntity what, List<ItemStack> drops, int droppedExp) EntityKnockbackByEntityEvent
(LivingEntity entity, Entity source, EntityKnockbackEvent.KnockbackCause cause, double force, Vector rawKnockback, Vector knockback) EntityKnockbackEvent
(LivingEntity entity, EntityKnockbackEvent.KnockbackCause cause, double force, Vector rawKnockback, Vector knockback) EntityPickupItemEvent
(LivingEntity entity, Item item, int remaining) EntityPotionEffectEvent
(LivingEntity livingEntity, PotionEffect oldEffect, PotionEffect newEffect, EntityPotionEffectEvent.Cause cause, EntityPotionEffectEvent.Action action, boolean override) Deprecated.EntityResurrectEvent
(LivingEntity what, EquipmentSlot hand) EntityShootBowEvent
(LivingEntity shooter, ItemStack bow, ItemStack consumable, Entity projectile, EquipmentSlot hand, float force, boolean consumeItem) EntityTameEvent
(LivingEntity entity, AnimalTamer owner) EntityTargetLivingEntityEvent
(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason) EntityToggleGlideEvent
(LivingEntity who, boolean isGliding) EntityToggleSwimEvent
(LivingEntity who, boolean isSwimming) ModifierConstructorDescriptionAreaEffectCloudApplyEvent
(AreaEffectCloud entity, List<LivingEntity> affectedEntities) PotionSplashEvent
(ThrownPotion potion, Map<LivingEntity, Double> affectedEntities) Deprecated.PotionSplashEvent
(ThrownPotion potion, Entity hitEntity, Block hitBlock, BlockFace hitFace, Map<LivingEntity, Double> affectedEntities) -
Uses of LivingEntity in org.bukkit.event.vehicle
Modifier and TypeMethodDescriptionVehicleExitEvent.getExited()
Get the living entity that exited the vehicle. -
Uses of LivingEntity in org.bukkit.potion
Modifier and TypeMethodDescriptionvoid
Potion.apply
(LivingEntity to) Deprecated.Applies the effects that would be applied by this potion to the givenLivingEntity
.boolean
PotionEffect.apply
(LivingEntity entity) Attempts to add the effect represented by this object to the givenLivingEntity
. -
Uses of LivingEntity in org.bukkit.util
ModifierConstructorDescriptionBlockIterator
(LivingEntity entity) Constructs the BlockIterator.BlockIterator
(LivingEntity entity, int maxDistance) Constructs the BlockIterator.