Uses of Interface
org.bukkit.entity.LivingEntity
Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
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.
|
-
Uses of LivingEntity in org.bukkit
Methods in org.bukkit that return LivingEntity Modifier and Type Method Description LivingEntity
World. spawnCreature(Location loc, CreatureType type)
Deprecated.LivingEntity
World. spawnCreature(Location loc, EntityType type)
Deprecated.Has issues spawning non LivingEntities.Methods in org.bukkit that return types with arguments of type LivingEntity Modifier and Type Method Description java.util.List<LivingEntity>
World. getLivingEntities()
Get a list of all living entities in this World -
Uses of LivingEntity in org.bukkit.entity
Subinterfaces of LivingEntity in org.bukkit.entity Modifier and Type Interface Description interface
Ageable
Represents an entity that can age and breed.interface
Ambient
Represents an ambient mobinterface
Animals
Represents an Animal.interface
ArmorStand
interface
Bat
Represents a Batinterface
Blaze
Represents a Blaze monsterinterface
CaveSpider
Represents a Spider.interface
Chicken
Represents a Chicken.interface
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller partsinterface
Cow
Represents a Cow.interface
Creature
Represents a Creature.interface
Creeper
Represents a Creeperinterface
EnderDragon
Represents an Ender Dragoninterface
Enderman
Represents an Enderman.interface
Endermite
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 playerinterface
IronGolem
An iron Golem that protects Villages.interface
MagmaCube
Represents a MagmaCube.interface
Monster
Represents a Monster.interface
MushroomCow
Represents a mushroomCow
interface
NPC
Represents a non-player characterinterface
Ocelot
A wild tameable catinterface
Pig
Represents a Pig.interface
PigZombie
Represents a Pig Zombie.interface
Player
Represents a player, connected or notinterface
Rabbit
interface
Sheep
Represents a Sheep.interface
Silverfish
Represents a Silverfish.interface
Skeleton
Represents a Skeleton.interface
Slime
Represents a Slime.interface
Snowman
Represents a snowman entityinterface
Spider
Represents a Spider.interface
Squid
Represents a Squid.interface
Villager
Represents a villager NPCinterface
WaterMob
Represents a Water Mobinterface
Witch
Represents a Witchinterface
Wither
Represents a Wither bossinterface
Wolf
Represents a Wolfinterface
Zombie
Represents a Zombie.Methods in org.bukkit.entity that return LivingEntity Modifier and Type Method Description LivingEntity
Projectile. _INVALID_getShooter()
Deprecated.LivingEntity
Creature. getTarget()
Gets the current target of this CreatureMethods in org.bukkit.entity with parameters of type LivingEntity Modifier and Type Method Description void
Projectile. _INVALID_setShooter(LivingEntity shooter)
Deprecated.void
Creature. setTarget(LivingEntity target)
Instructs this Creature to set the specified LivingEntity as its target. -
Uses of LivingEntity in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return LivingEntity Modifier and Type Method Description LivingEntity
CreatureSpawnEvent. getEntity()
LivingEntity
EntityBreakDoorEvent. getEntity()
LivingEntity
EntityCreatePortalEvent. getEntity()
LivingEntity
EntityDeathEvent. getEntity()
LivingEntity
EntityShootBowEvent. getEntity()
LivingEntity
EntityTameEvent. getEntity()
LivingEntity
EntityTargetLivingEntityEvent. getTarget()
Methods in org.bukkit.event.entity that return types with arguments of type LivingEntity Modifier and Type Method Description java.util.Collection<LivingEntity>
PotionSplashEvent. getAffectedEntities()
Retrieves a list of all effected entitiesMethods in org.bukkit.event.entity with parameters of type LivingEntity 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 centervoid
PotionSplashEvent. setIntensity(LivingEntity entity, double intensity)
Overwrites the intensity for a given entityConstructors in org.bukkit.event.entity with parameters of type LivingEntity Constructor Description CreatureSpawnEvent(LivingEntity spawnee, CreatureSpawnEvent.SpawnReason spawnReason)
EntityBreakDoorEvent(LivingEntity entity, Block targetBlock)
EntityChangeBlockEvent(LivingEntity what, Block block, Material to)
Deprecated.Provided as a backward compatibility before the data byte was provided, and type increased to all entitiesEntityCreatePortalEvent(LivingEntity what, java.util.List<BlockState> blocks, PortalType type)
EntityDeathEvent(LivingEntity entity, java.util.List<ItemStack> drops)
EntityDeathEvent(LivingEntity what, java.util.List<ItemStack> drops, int droppedExp)
EntityShootBowEvent(LivingEntity shooter, ItemStack bow, Projectile projectile, float force)
EntityTameEvent(LivingEntity entity, AnimalTamer owner)
EntityTargetLivingEntityEvent(Entity entity, LivingEntity target, EntityTargetEvent.TargetReason reason)
Constructor parameters in org.bukkit.event.entity with type arguments of type LivingEntity Constructor Description PotionSplashEvent(ThrownPotion potion, java.util.Map<LivingEntity,java.lang.Double> affectedEntities)
-
Uses of LivingEntity in org.bukkit.event.vehicle
Methods in org.bukkit.event.vehicle that return LivingEntity Modifier and Type Method Description LivingEntity
VehicleExitEvent. getExited()
Get the living entity that exited the vehicle.Constructors in org.bukkit.event.vehicle with parameters of type LivingEntity Constructor Description VehicleExitEvent(Vehicle vehicle, LivingEntity exited)
-
Uses of LivingEntity in org.bukkit.potion
Methods in org.bukkit.potion with parameters of type LivingEntity Modifier and Type Method Description void
Potion. apply(LivingEntity to)
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
Constructors in org.bukkit.util with parameters of type LivingEntity Constructor Description BlockIterator(LivingEntity entity)
Constructs the BlockIterator.BlockIterator(LivingEntity entity, int maxDistance)
Constructs the BlockIterator.