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.
|
Modifier and Type | Method and Description |
---|---|
LivingEntity |
World.spawnCreature(Location loc,
CreatureType type)
Deprecated.
|
LivingEntity |
World.spawnCreature(Location loc,
EntityType type)
Deprecated.
Has issues spawning non LivingEntities. Use
spawnEntity instead. |
Modifier and Type | Method and Description |
---|---|
List<LivingEntity> |
World.getLivingEntities()
Get a list of all living entities in this World
|
Modifier and Type | Interface and Description |
---|---|
interface |
Ageable
Represents an entity that can age and breed.
|
interface |
Ambient
Represents an ambient mob
|
interface |
Animals
Represents an Animal.
|
interface |
Bat
Represents a Bat
|
interface |
Blaze
Represents a Blaze monster
|
interface |
CaveSpider
Represents a Spider.
|
interface |
Chicken
Represents a Chicken.
|
interface |
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller
parts
|
interface |
Cow
Represents a Cow.
|
interface |
Creature
Represents a Creature.
|
interface |
Creeper
Represents a Creeper
|
interface |
EnderDragon
Represents an Ender Dragon
|
interface |
Enderman
Represents an Enderman.
|
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 |
Horse
Represents a Horse.
|
interface |
HumanEntity
Represents a human entity, such as an NPC or a player
|
interface |
IronGolem
An iron Golem that protects Villages.
|
interface |
MagmaCube
Represents a MagmaCube.
|
interface |
Monster
Represents a Monster.
|
interface |
MushroomCow
Represents a mushroom
Cow |
interface |
NPC
Represents a non-player character
|
interface |
Ocelot
A wild tameable cat
|
interface |
Pig
Represents a Pig.
|
interface |
PigZombie
Represents a Pig Zombie.
|
interface |
Player
Represents a player, connected or not
|
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 entity
|
interface |
Spider
Represents a Spider.
|
interface |
Squid
Represents a Squid.
|
interface |
Villager
Represents a villager NPC
|
interface |
WaterMob
Represents a Water Mob
|
interface |
Witch
Represents a Witch
|
interface |
Wither
Represents a Wither boss
|
interface |
Wolf
Represents a Wolf
|
interface |
Zombie
Represents a Zombie.
|
Modifier and Type | Method and Description |
---|---|
LivingEntity |
Projectile._INVALID_getShooter()
Deprecated.
|
LivingEntity |
Creature.getTarget()
Gets the current target of this Creature
|
Modifier and Type | Method and Description |
---|---|
void |
Projectile._INVALID_setShooter(LivingEntity shooter)
Deprecated.
|
void |
Creature.setTarget(LivingEntity target)
Instructs this Creature to set the specified LivingEntity as its
target.
|
Modifier and Type | Method and Description |
---|---|
LivingEntity |
EntityBreakDoorEvent.getEntity() |
LivingEntity |
EntityCreatePortalEvent.getEntity() |
LivingEntity |
EntityTameEvent.getEntity() |
LivingEntity |
EntityShootBowEvent.getEntity() |
LivingEntity |
CreatureSpawnEvent.getEntity() |
LivingEntity |
EntityDeathEvent.getEntity() |
LivingEntity |
EntityTargetLivingEntityEvent.getTarget() |
Modifier and Type | Method and Description |
---|---|
Collection<LivingEntity> |
PotionSplashEvent.getAffectedEntities()
Retrieves a list of all effected entities
|
Modifier and Type | Method and 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 center
|
void |
PotionSplashEvent.setIntensity(LivingEntity entity,
double intensity)
Overwrites the intensity for a given entity
|
Constructor and 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 entities
|
EntityCreatePortalEvent(LivingEntity what,
List<BlockState> blocks,
PortalType type) |
EntityDeathEvent(LivingEntity entity,
List<ItemStack> drops) |
EntityDeathEvent(LivingEntity what,
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 and Description |
---|
PotionSplashEvent(ThrownPotion potion,
Map<LivingEntity,Double> affectedEntities) |
Modifier and Type | Method and Description |
---|---|
LivingEntity |
VehicleExitEvent.getExited()
Get the living entity that exited the vehicle.
|
Constructor and Description |
---|
VehicleExitEvent(Vehicle vehicle,
LivingEntity exited) |
Modifier and Type | Method and Description |
---|---|
void |
Potion.apply(LivingEntity to)
Applies the effects that would be applied by this potion to the given
LivingEntity . |
boolean |
PotionEffect.apply(LivingEntity entity)
Attempts to add the effect represented by this object to the given
LivingEntity . |
Constructor and Description |
---|
BlockIterator(LivingEntity entity)
Constructs the BlockIterator.
|
BlockIterator(LivingEntity entity,
int maxDistance)
Constructs the BlockIterator.
|
Copyright © 2014. All rights reserved.