Uses of Interface
org.bukkit.entity.Entity
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.Interfaces for various
Minecart
types.Events
relating to entities that hang
.Events
relating to vehicular entities
.Classes involved in manipulating player inventories and item interactions.
Classes relevant to loot table manipulation and generation.
Classes related to creating or using
structures
without creating Structure
blocks
in the world.Multi and single purpose classes to facilitate various programmatic
concepts.
Spigot-specific entity events.
-
Uses of Entity in org.bukkit
Modifier and TypeMethodDescription<T extends Entity>
Collection<T>RegionAccessor.getEntitiesByClass
(Class<T> cls) Get a collection of all entities in this RegionAccessor matching the given class/interface<T extends Entity>
Collection<T>World.getEntitiesByClass
(Class<T> cls) Get a collection of all entities in this World matching the given class/interface<T extends Entity>
Collection<T>World.getEntitiesByClass
(Class<T>... classes) Deprecated.<T extends Entity>
TSpawn an entity of a specific class at the givenLocation
<T extends Entity>
TRegionAccessor.spawn
(Location location, Class<T> clazz, boolean randomizeData, Consumer<T> function) Creates a new entity at the givenLocation
with the supplied function run before the entity is added to the world.<T extends Entity>
TSpawn an entity of a specific class at the givenLocation
, with the supplied function run before the entity is added to the world.Modifier and TypeMethodDescriptionEntity[]
Chunk.getEntities()
Get a list of all entities in the chunk.static Entity
Gets an entity on the server by its UUIDGets an entity on the server by its UUIDVibration.Destination.EntityDestination.getEntity()
RegionAccessor.spawnEntity
(Location location, EntityType type) Creates a entity at the givenLocation
RegionAccessor.spawnEntity
(Location loc, EntityType type, boolean randomizeData) Creates a new entity at the givenLocation
.Modifier and TypeMethodDescriptionEntityEffect.getApplicable()
Gets entity superclass which this affect is applicable to.RegionAccessor.getEntities()
Get a list of all entities in this RegionAccessorWorld.getEntities()
Get a list of all entities in this WorldRegionAccessor.getEntitiesByClasses
(Class<?>... classes) Get a collection of all entities in this RegionAccessor matching any of the given classes/interfacesWorld.getEntitiesByClasses
(Class<?>... classes) Get a collection of all entities in this World matching any of the given classes/interfacesWorld.getNearbyEntities
(Location location, double x, double y, double z) Returns a list of entities within a bounding box centered around a Location.World.getNearbyEntities
(Location location, double x, double y, double z, Predicate<Entity> filter) Returns a list of entities within a bounding box centered around a Location.World.getNearbyEntities
(BoundingBox boundingBox) Returns a list of entities within the given bounding box.World.getNearbyEntities
(BoundingBox boundingBox, Predicate<Entity> filter) Returns a list of entities within the given bounding box.Bukkit.selectEntities
(CommandSender sender, String selector) Selects entities using the given Vanilla selector.Server.selectEntities
(CommandSender sender, String selector) Selects entities using the given Vanilla selector.Modifier and TypeMethodDescriptionboolean
World.createExplosion
(double x, double y, double z, float power, boolean setFire, boolean breakBlocks, Entity source) Creates explosion at given coordinates with given power and optionally setting blocks on fire or breaking blocks.boolean
World.createExplosion
(Location loc, float power, boolean setFire, boolean breakBlocks, Entity source) Creates explosion at given coordinates with given power and optionally setting blocks on fire or breaking blocks.void
Play a Sound at the location of the provided entity in the World.void
World.playSound
(Entity entity, String sound, SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.void
Play a Sound at the location of the provided entity in the World.void
World.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a Sound at the location of the provided entity in the World.Modifier and TypeMethodDescriptionWorld.getNearbyEntities
(Location location, double x, double y, double z, Predicate<Entity> filter) Returns a list of entities within a bounding box centered around a Location.World.getNearbyEntities
(BoundingBox boundingBox, Predicate<Entity> filter) Returns a list of entities within the given bounding box.World.rayTrace
(Location start, Vector direction, double maxDistance, FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, Predicate<Entity> filter) Performs a ray trace that checks for both block and entity collisions.World.rayTraceEntities
(Location start, Vector direction, double maxDistance, double raySize, Predicate<Entity> filter) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(Location start, Vector direction, double maxDistance, Predicate<Entity> filter) Performs a ray trace that checks for entity collisions. -
Uses of Entity in org.bukkit.block
Modifier and TypeInterfaceDescriptioninterface
EntityBlockStorage<T extends Entity>
Represents a captured state of a block which stores entities.Modifier and TypeMethodDescriptionReturns a list of items which would drop by the entity destroying this block with a specific tool -
Uses of Entity in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents an arrow.interface
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
Represents an area effect cloud which will imbue a potion effect onto entities which enter it.interface
interface
interface
An Axolotl.interface
Represents a Batinterface
Represents a Bee.interface
Represents a Blaze monsterinterface
Represents a boat entity.interface
Represents the Boss Entity.interface
Represents an entity that can age and breed.interface
Represents a Camel.interface
Meow.interface
Represents a Spider.interface
ABoat
with a chest.interface
Represents Horse-like creatures which can carry an inventory.interface
Represents a Chicken.interface
Represents a cod fish.interface
Represents a single part of aComplexLivingEntity
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
Represents anEntity
that has health and can take damage.interface
interface
Represents a Donkey - variant ofChestedHorse
.interface
interface
Drowned zombie.interface
Represents a thrown egg.interface
Represents an ElderGuardian - variant ofGuardian
.interface
A crystal that heals nearby EnderDragonsinterface
Represents an Ender Dragoninterface
Represents an ender dragon partinterface
Represents an Enderman.interface
interface
Represents a thrown Ender Pearl entityinterface
Represents an EnderSignal, which is created upon throwing an ender eye.interface
Represents an Enemyinterface
Represents an Evoker "Illager".interface
Represents Evoker Fangs.interface
Represents an Experience Orb.interface
A representation of an explosive entityinterface
Represents a falling blockinterface
Represents a Fireball.interface
interface
Represents a fish entity.interface
Represents a fishing hook.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 Item Frame.interface
A Glow Squid.interface
A Goat.interface
A mechanical creature that may harm enemies.interface
interface
Represents a Hanging entityinterface
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 dropped item.interface
Represents an Item Frameinterface
Represents a largeFireball
interface
Represents a Leash Hitch on a fenceinterface
Represents an instance of a lightning strike.interface
Deprecated.lingering status depends on only on the potion item.interface
Represents a living entity, such as a monster or playerinterface
Represents a Llama.interface
Represents Llama spit.interface
Represents a MagmaCube.interface
A Marker entity, exists only on the server.interface
Represents a minecart entity.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
Represents a Painting.interface
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 shootable entity.interface
Represents a puffer fish.interface
interface
interface
Illager beast.interface
Represents a salmon fish.interface
Represents a Sheep.interface
interface
interface
Represents a Silverfish.interface
Represents a sized fireball.interface
Represents a Skeleton.interface
Represents a SkeletonHorse - variant ofAbstractHorse
.interface
Represents a Slime.interface
Represents a smallFireball
interface
Represents a snowball.interface
Represents a snowman entityinterface
Represents a spectral arrow.interface
Represents a spell casting "Illager".interface
Represents a Spider.interface
Deprecated.splash status depends on only on the potion item.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
interface
Represents a thrown Experience bottle.interface
Represents a thrown potion bottleinterface
Deprecated.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interface
Represents a Primed TNT.interface
Represents a trader Llama.interface
Represents a thrown trident.interface
Tropical fish.interface
Represents a turtle.interface
Represents a vehicle entity.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 wither skullFireball
.interface
Represents a Wolfinterface
Represents a Zoglin.interface
Represents a Zombie.interface
Represents a ZombieHorse - variant ofAbstractHorse
.interface
Modifier and TypeMethodDescriptionFishHook.getHookedEntity()
Get the entity hooked by this fish hook.LivingEntity.getLeashHolder()
Gets the entity that is currently leading this entity.Entity.getPassenger()
Deprecated.entities may have multiple passengers, usegetPassengers()
HumanEntity.getShoulderEntityLeft()
Deprecated.There are currently no well defined semantics regarding serialized entities in Bukkit.HumanEntity.getShoulderEntityRight()
Deprecated.There are currently no well defined semantics regarding serialized entities in Bukkit.TNTPrimed.getSource()
Gets the source of this primed TNT.Player.getSpectatorTarget()
Gets the entity which is followed by the camera when inGameMode.SPECTATOR
.ShulkerBullet.getTarget()
Retrieve the target of this bullet.Frog.getTongueTarget()
Gets the tongue target of this frog.Entity.getVehicle()
Get the vehicle that this entity is inside.Modifier and TypeMethodDescriptionEntityType.getEntityClass()
Entity.getNearbyEntities
(double x, double y, double z) Returns a list of entities within a bounding box centered around this entityEntity.getPassengers()
Gets a list of passengers of this vehicle.Modifier and TypeMethodDescriptionboolean
Entity.addPassenger
(Entity passenger) Add a passenger to the vehicle.void
Makes this entity attack the given entity with a melee attack.boolean
Deprecated.draft APIvoid
Warden.clearAnger
(Entity entity) Clears the anger level of this warden.void
Deals the given amount of damage to this entity, from a specified entity.int
Gets the anger level of this warden.boolean
LivingEntity.hasLineOfSight
(Entity other) Checks whether the living entity has block line of sight to another.void
Player.hideEntity
(Plugin plugin, Entity entity) Deprecated.draft APIvoid
Warden.increaseAnger
(Entity entity, int increase) Increases the anger level of this warden.void
Play a sound for a player at the location of the entity.void
Player.playSound
(Entity entity, String sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.void
Play a sound for a player at the location of the entity.void
Player.playSound
(Entity entity, Sound sound, SoundCategory category, float volume, float pitch) Play a sound for a player at the location of the entity.boolean
Entity.removePassenger
(Entity passenger) Remove a passenger from the vehicle.void
Sets the anger level of this warden.void
FishHook.setHookedEntity
(Entity entity) Set the entity hooked by this fish hook.boolean
LivingEntity.setLeashHolder
(Entity holder) Sets the leash on this entity to be held by the supplied entity.boolean
Entity.setPassenger
(Entity passenger) Deprecated.entities may have multiple passengers, useaddPassenger(org.bukkit.entity.Entity)
void
HumanEntity.setShoulderEntityLeft
(Entity entity) Deprecated.There are currently no well defined semantics regarding serialized entities in Bukkit.void
HumanEntity.setShoulderEntityRight
(Entity entity) Deprecated.There are currently no well defined semantics regarding serialized entities in Bukkit.void
Sets the source of this primed TNT.void
Player.setSpectatorTarget
(Entity entity) Sets the entity which is followed by the camera when inGameMode.SPECTATOR
.void
Sets the target of this bulletvoid
Frog.setTongueTarget
(Entity target) Sets the tongue target of this frog.void
Player.showEntity
(Plugin plugin, Entity entity) Deprecated.draft APIboolean
Teleports this entity to the target Entity.boolean
Entity.teleport
(Entity destination, PlayerTeleportEvent.TeleportCause cause) Teleports this entity to the target Entity. -
Uses of Entity in org.bukkit.entity.minecart
Modifier and TypeInterfaceDescriptioninterface
interface
Represents a Minecart with TNT inside it that can explode when triggered.interface
Represents a Minecart with a Hopper inside itinterface
Represents a powered minecart.interface
Represents a minecart that can have certainentities
as passengers.interface
Represents a Minecart with anentity spawner
inside it.interface
Represents a minecart with a chest. -
Uses of Entity in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockReceiveGameEvent.getEntity()
Get the entity which triggered this event, if present.BlockShearEntityEvent.getEntity()
Gets the entity that was sheared.CauldronLevelChangeEvent.getEntity()
Get entity which did this.EntityBlockFormEvent.getEntity()
Get the entity that formed the block.BlockIgniteEvent.getIgnitingEntity()
Gets the entity who ignited this blockModifierConstructorDescriptionBlockIgniteEvent
(Block theBlock, BlockIgniteEvent.IgniteCause cause, Entity ignitingEntity) BlockIgniteEvent
(Block theBlock, BlockIgniteEvent.IgniteCause cause, Entity ignitingEntity, Block ignitingBlock) BlockReceiveGameEvent
(GameEvent event, Block block, Entity entity) BlockShearEntityEvent
(Block dispenser, Entity sheared, ItemStack tool) CauldronLevelChangeEvent
(Block block, Entity entity, CauldronLevelChangeEvent.ChangeReason reason, BlockState newBlock) EntityBlockFormEvent
(Entity entity, Block block, BlockState blockstate) -
Uses of Entity in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityCombustByEntityEvent.getCombuster()
Get the entity that caused the combustion event.EntityDamageByEntityEvent.getDamager()
Returns the entity that damaged the defender.EntityEvent.getEntity()
Returns the Entity involved in this eventPlayerLeashEntityEvent.getEntity()
Returns the entity being leashed.ProjectileHitEvent.getHitEntity()
Gets the entity that was hit, if it was an entity that was hit.PlayerLeashEntityEvent.getLeashHolder()
Returns the entity that is holding the leash.EntityShootBowEvent.getProjectile()
Gets the projectile which will be launched by this eventEntityTargetEvent.getTarget()
Get the entity that this is targeting.PigZombieAngerEvent.getTarget()
Gets the entity (if any) which triggered this anger update.EntityTransformEvent.getTransformedEntity()
Gets the entity that the original entity was transformed to.Modifier and TypeMethodDescriptionEntityTransformEvent.getTransformedEntities()
Gets the entities that the original entity was transformed to.Modifier and TypeMethodDescriptionvoid
EntityShootBowEvent.setProjectile
(Entity projectile) Replaces the projectile which will be launchedvoid
Set the entity that you want the mob to target instead.void
Set the Entity that you want the mob to target.ModifierConstructorDescriptionEntityAirChangeEvent
(Entity what, int amount) EntityChangeBlockEvent
(Entity what, Block block, BlockData to) EntityCombustByBlockEvent
(Block combuster, Entity combustee, int duration) EntityCombustByEntityEvent
(Entity combuster, Entity combustee, int duration) EntityCombustEvent
(Entity combustee, int duration) EntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage) EntityDamageByBlockEvent
(Block damager, Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, double damage) EntityDamageByEntityEvent
(Entity damager, Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, double damage) EntityDamageEvent
(Entity damagee, EntityDamageEvent.DamageCause cause, Map<EntityDamageEvent.DamageModifier, Double> modifiers, Map<EntityDamageEvent.DamageModifier, ? extends Function<? super Double, Double>> modifierFunctions) EntityDropItemEvent
(Entity entity, Item drop) EntityEnterBlockEvent
(Entity entity, Block block) EntityEvent
(Entity what) EntityExplodeEvent
(Entity what, Location location, List<Block> blocks, float yield) EntityInteractEvent
(Entity entity, Block block) EntityPlaceEvent
(Entity entity, Player player, Block block, BlockFace blockFace) Deprecated.EntityPlaceEvent
(Entity entity, Player player, Block block, BlockFace blockFace, EquipmentSlot hand) EntityPortalEnterEvent
(Entity entity, Location location) EntityPortalEvent
(Entity entity, Location from, Location to) EntityPortalEvent
(Entity entity, Location from, Location to, int searchRadius) EntityPoseChangeEvent
(Entity who, Pose pose) EntityRegainHealthEvent
(Entity entity, double amount, EntityRegainHealthEvent.RegainReason regainReason) EntityShootBowEvent
(LivingEntity shooter, ItemStack bow, ItemStack consumable, Entity projectile, EquipmentSlot hand, float force, boolean consumeItem) EntitySpawnEvent
(Entity spawnee) EntityTargetEvent
(Entity entity, Entity target, EntityTargetEvent.TargetReason reason) EntityTargetLivingEntityEvent
(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason) EntityTeleportEvent
(Entity what, Location from, Location to) EntityTransformEvent
(Entity original, List<Entity> convertedList, EntityTransformEvent.TransformReason transformReason) EntityUnleashEvent
(Entity entity, EntityUnleashEvent.UnleashReason reason) ExplosionPrimeEvent
(Entity what, float radius, boolean fire) PigZombieAngerEvent
(PigZombie pigZombie, Entity target, int newAnger) PlayerLeashEntityEvent
(Entity what, Entity leashHolder, Player leasher) Deprecated.PlayerLeashEntityEvent
(Entity what, Entity leashHolder, Player leasher, EquipmentSlot hand) ProjectileHitEvent
(Projectile projectile, Entity hitEntity) ProjectileHitEvent
(Projectile projectile, Entity hitEntity, Block hitBlock) ProjectileHitEvent
(Projectile projectile, Entity hitEntity, Block hitBlock, BlockFace hitFace) ProjectileLaunchEvent
(Entity what) SpawnerSpawnEvent
(Entity spawnee, CreatureSpawner spawner) ModifierConstructorDescriptionEntityTransformEvent
(Entity original, List<Entity> convertedList, EntityTransformEvent.TransformReason transformReason) -
Uses of Entity in org.bukkit.event.hanging
Modifier and TypeMethodDescriptionHangingBreakByEntityEvent.getRemover()
Gets the entity that removed the hanging entity.ModifierConstructorDescriptionHangingBreakByEntityEvent
(Hanging hanging, Entity remover) HangingBreakByEntityEvent
(Hanging hanging, Entity remover, HangingBreakEvent.RemoveCause cause) -
Uses of Entity in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerFishEvent.getCaught()
Gets the entity caught by the player.PlayerBucketEntityEvent.getEntity()
Gets theEntity
being put into the bucket.PlayerHideEntityEvent.getEntity()
Deprecated.Gets the entity which has been hidden from the player.PlayerShearEntityEvent.getEntity()
Gets the entity the player is shearingPlayerShowEntityEvent.getEntity()
Deprecated.Gets the entity which has been shown to the player.PlayerInteractEntityEvent.getRightClicked()
Gets the entity that was right-clicked by the player.ModifierConstructorDescriptionPlayerBucketEntityEvent
(Player player, Entity entity, ItemStack originalBucket, ItemStack entityBucket, EquipmentSlot hand) PlayerFishEvent
(Player player, Entity entity, FishHook hookEntity, PlayerFishEvent.State state) PlayerFishEvent
(Player player, Entity entity, FishHook hookEntity, EquipmentSlot hand, PlayerFishEvent.State state) PlayerHideEntityEvent
(Player who, Entity entity) Deprecated.PlayerInteractAtEntityEvent
(Player who, Entity clickedEntity, Vector position) PlayerInteractAtEntityEvent
(Player who, Entity clickedEntity, Vector position, EquipmentSlot hand) PlayerInteractEntityEvent
(Player who, Entity clickedEntity) PlayerInteractEntityEvent
(Player who, Entity clickedEntity, EquipmentSlot hand) PlayerShearEntityEvent
(Player who, Entity what) Deprecated.PlayerShearEntityEvent
(Player who, Entity what, ItemStack item, EquipmentSlot hand) PlayerShowEntityEvent
(Player who, Entity entity) Deprecated.PlayerUnleashEntityEvent
(Entity entity, Player player) Deprecated.PlayerUnleashEntityEvent
(Entity entity, Player player, EquipmentSlot hand) -
Uses of Entity in org.bukkit.event.vehicle
Modifier and TypeMethodDescriptionVehicleDamageEvent.getAttacker()
Gets the Entity that is attacking the vehicleVehicleDestroyEvent.getAttacker()
Gets the Entity that has destroyed the vehicle, potentially nullVehicleEnterEvent.getEntered()
Gets the Entity that entered the vehicle.VehicleEntityCollisionEvent.getEntity()
ModifierConstructorDescriptionVehicleDamageEvent
(Vehicle vehicle, Entity attacker, double damage) VehicleDestroyEvent
(Vehicle vehicle, Entity attacker) VehicleEnterEvent
(Vehicle vehicle, Entity entered) VehicleEntityCollisionEvent
(Vehicle vehicle, Entity entity) -
Uses of Entity in org.bukkit.event.world
Modifier and TypeMethodDescriptionGenericGameEvent.getEntity()
Get the entity which triggered this event, if present.LootGenerateEvent.getEntity()
Get the entity used as context for loot generation (if applicable).PortalCreateEvent.getEntity()
Returns the Entity that triggered this portal creation (if available)Modifier and TypeMethodDescriptionEntitiesLoadEvent.getEntities()
Get the entities which are being loaded.EntitiesUnloadEvent.getEntities()
Get the entities which are being unloaded.ModifierConstructorDescriptionGenericGameEvent
(GameEvent event, Location location, Entity entity, int radius, boolean isAsync) LootGenerateEvent
(World world, Entity entity, InventoryHolder inventoryHolder, LootTable lootTable, LootContext lootContext, List<ItemStack> items, boolean plugin) PortalCreateEvent
(List<BlockState> blocks, World world, Entity entity, PortalCreateEvent.CreateReason reason) ModifierConstructorDescriptionEntitiesLoadEvent
(Chunk chunk, List<Entity> entities) EntitiesUnloadEvent
(Chunk chunk, List<Entity> entities) -
Uses of Entity in org.bukkit.inventory
-
Uses of Entity in org.bukkit.loot
Modifier and TypeMethodDescriptionLootContext.Builder.lootedEntity
(Entity lootedEntity) The entity that was killed. -
Uses of Entity in org.bukkit.structure
Modifier and TypeMethodDescriptionStructure.getEntities()
Gets a list of entities that have been included in the Structure. -
Uses of Entity in org.bukkit.util
ModifierConstructorDescriptionRayTraceResult
(Vector hitPosition, Entity hitEntity) Creates a RayTraceResult.RayTraceResult
(Vector hitPosition, Entity hitEntity, BlockFace hitBlockFace) Creates a RayTraceResult. -
Uses of Entity in org.spigotmc.event.entity
Modifier and TypeMethodDescriptionEntityDismountEvent.getDismounted()
EntityMountEvent.getMount()
ModifierConstructorDescriptionEntityDismountEvent
(Entity what, Entity dismounted) EntityMountEvent
(Entity what, Entity mount)