Package | Description |
---|---|
com.destroystokyo.paper.entity | |
com.destroystokyo.paper.event.entity | |
io.papermc.paper.event.entity | |
io.papermc.paper.event.player | |
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.block | |
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 | Interface and Description |
---|---|
interface |
RangedEntity |
Modifier and Type | Method and Description |
---|---|
@Nullable Pathfinder.PathResult |
Pathfinder.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.
|
Modifier and Type | Method and Description |
---|---|
@NotNull LivingEntity |
EntityKnockbackByEntityEvent.getEntity() |
@NotNull LivingEntity |
EntityJumpEvent.getEntity() |
@NotNull LivingEntity |
WitchThrowPotionEvent.getTarget() |
@NotNull LivingEntity |
SlimeTargetLivingEntityEvent.getTarget()
Get the targeted entity
|
Constructor and Description |
---|
EntityJumpEvent(@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) |
Modifier and Type | Method and Description |
---|---|
@NotNull LivingEntity |
EntityLoadCrossbowEvent.getEntity() |
@NotNull LivingEntity |
EntityMoveEvent.getEntity() |
Constructor and Description |
---|
EntityLoadCrossbowEvent(@NotNull LivingEntity entity,
@Nullable ItemStack crossbow,
@NotNull EquipmentSlot hand) |
EntityMoveEvent(@NotNull LivingEntity entity,
@NotNull Location from,
@NotNull Location to) |
Modifier and Type | Method and Description |
---|---|
@NotNull LivingEntity |
PlayerNameEntityEvent.getEntity()
Gets the entity involved in this event.
|
Modifier and Type | Method and Description |
---|---|
void |
PlayerNameEntityEvent.setEntity(@NotNull LivingEntity entity)
Sets the entity involved in this event.
|
Constructor and Description |
---|
PlayerNameEntityEvent(@NotNull Player player,
@NotNull LivingEntity entity,
@NotNull net.kyori.adventure.text.Component name,
boolean persistent) |
Modifier and Type | Method and Description |
---|---|
void |
Structure.setAuthor(@NotNull LivingEntity livingEntity)
Set the name of whoever created this structure using a
LivingEntity . |
Modifier and Type | Interface and Description |
---|---|
interface |
AbstractHorse
Represents a Horse-like creature.
|
interface |
AbstractVillager
Represents a villager NPC
|
interface |
Ageable
Represents an entity that can age.
|
interface |
Ambient
Represents an ambient mob
|
interface |
Animals
Represents an Animal.
|
interface |
ArmorStand |
interface |
Bat
Represents a Bat
|
interface |
Bee
Represents a Bee.
|
interface |
Blaze
Represents a Blaze monster
|
interface |
Breedable
Represents an entity that can age and breed.
|
interface |
Cat
Meow.
|
interface |
CaveSpider
Represents a Spider.
|
interface |
ChestedHorse
Represents Horse-like creatures which can carry an inventory.
|
interface |
Chicken
Represents a Chicken.
|
interface |
Cod
Represents a cod fish.
|
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 |
Dolphin |
interface |
Donkey
Represents a Donkey - variant of
ChestedHorse . |
interface |
Drowned
Drowned zombie.
|
interface |
ElderGuardian
Represents an ElderGuardian - variant of
Guardian . |
interface |
EnderDragon
Represents an Ender Dragon
|
interface |
Enderman
Represents an Enderman.
|
interface |
Endermite |
interface |
Evoker
Represents an Evoker "Illager".
|
interface |
Fish
Represents a fish entity.
|
interface |
Flying
Represents a Flying Entity.
|
interface |
Fox
What does the fox say?
|
interface |
Ghast
Represents a Ghast.
|
interface |
Giant
Represents a Giant.
|
interface |
Golem
A mechanical creature that may harm enemies.
|
interface |
Guardian |
interface |
Hoglin
Represents a Hoglin.
|
interface |
Horse
Represents a Horse.
|
interface |
HumanEntity
Represents a human entity, such as an NPC or a player
|
interface |
Husk
Represents a Husk - variant of
Zombie . |
interface |
Illager
Represents a type of "Illager".
|
interface |
Illusioner
Represents an Illusioner "Illager".
|
interface |
IronGolem
An iron Golem that protects Villages.
|
interface |
Llama
Represents a Llama.
|
interface |
MagmaCube
Represents a MagmaCube.
|
interface |
Mob
Represents a Mob.
|
interface |
Monster
Represents a Monster.
|
interface |
Mule
Represents a Mule - variant of
ChestedHorse . |
interface |
MushroomCow
Represents a mushroom
Cow |
interface |
NPC
Represents a non-player character
|
interface |
Ocelot
A wild tameable cat
|
interface |
Panda
Panda entity.
|
interface |
Parrot
Represents a Parrot.
|
interface |
Phantom
Represents a phantom.
|
interface |
Pig
Represents a Pig.
|
interface |
Piglin
Represents a Piglin.
|
interface |
PiglinAbstract
Piglin / Piglin Brute.
|
interface |
PiglinBrute
Represents a Piglin Brute.
|
interface |
PigZombie
Represents a Pig Zombie.
|
interface |
Pillager
Illager entity.
|
interface |
Player
Represents a player, connected or not
|
interface |
PolarBear
Represents a polar bear.
|
interface |
PufferFish
Represents a puffer fish.
|
interface |
Rabbit |
interface |
Raider |
interface |
Ravager
Illager beast.
|
interface |
Salmon
Represents a salmon fish.
|
interface |
Sheep
Represents a Sheep.
|
interface |
Shulker |
interface |
Silverfish
Represents a Silverfish.
|
interface |
Skeleton
Represents a Skeleton.
|
interface |
SkeletonHorse
Represents a SkeletonHorse - variant of
AbstractHorse . |
interface |
Slime
Represents a Slime.
|
interface |
Snowman
Represents a snowman entity
|
interface |
Spellcaster
Represents a spell casting "Illager".
|
interface |
Spider
Represents a Spider.
|
interface |
Squid
Represents a Squid.
|
interface |
Steerable
Represents an entity which may be saddled, ridden and steered using an item.
|
interface |
Stray
Represents a Stray - variant of
Skeleton . |
interface |
Strider
Represents a Strider.
|
interface |
Tameable |
interface |
TraderLlama
Represents a trader Llama.
|
interface |
TropicalFish
Tropical fish.
|
interface |
Turtle
Represents a turtle.
|
interface |
Vex
Represents a Vex.
|
interface |
Villager
Represents a villager NPC
|
interface |
Vindicator
Represents a Vindicator.
|
interface |
WanderingTrader
Represents a wandering trader NPC
|
interface |
WaterMob
Represents a Water Mob
|
interface |
Witch
Represents a Witch
|
interface |
Wither
Represents a Wither boss
|
interface |
WitherSkeleton
Represents a WitherSkeleton - variant of
Skeleton . |
interface |
Wolf
Represents a Wolf
|
interface |
Zoglin
Represents a Zoglin.
|
interface |
Zombie
Represents a Zombie.
|
interface |
ZombieHorse
Represents a ZombieHorse - variant of
AbstractHorse . |
interface |
ZombieVillager
|
Modifier and Type | Method and Description |
---|---|
@Nullable LivingEntity |
Firework.getBoostedEntity()
If this firework is boosting an entity, return it
|
@Nullable LivingEntity |
EvokerFangs.getOwner()
Gets the
LivingEntity which summoned the fangs. |
@Nullable LivingEntity |
Mob.getTarget()
Gets the current target of this Mob
|
Modifier and Type | Method and Description |
---|---|
void |
EvokerFangs.setOwner(@Nullable LivingEntity owner)
Sets the
LivingEntity which summoned the fangs. |
void |
Mob.setTarget(@Nullable LivingEntity target)
Instructs this Mob to set the specified LivingEntity as its target.
|
Modifier and Type | Method and Description |
---|---|
@NotNull LivingEntity |
BlockDispenseArmorEvent.getTargetEntity()
Get the living entity on which the armor was dispensed.
|
Constructor and Description |
---|
BlockDispenseArmorEvent(@NotNull Block block,
@NotNull ItemStack dispensed,
@NotNull LivingEntity target) |
Modifier and Type | Method and Description |
---|---|
@Nullable LivingEntity |
EntityBreedEvent.getBreeder()
Gets the Entity responsible for breeding.
|
@NotNull LivingEntity |
EntityDeathEvent.getEntity() |
@NotNull LivingEntity |
EntityResurrectEvent.getEntity() |
@NotNull LivingEntity |
CreatureSpawnEvent.getEntity() |
@NotNull LivingEntity |
EntityCreatePortalEvent.getEntity()
Deprecated.
|
@NotNull LivingEntity |
EntityBreakDoorEvent.getEntity() |
@NotNull LivingEntity |
ArrowBodyCountChangeEvent.getEntity() |
@NotNull LivingEntity |
EntityTameEvent.getEntity() |
@NotNull LivingEntity |
EntityPickupItemEvent.getEntity() |
@NotNull LivingEntity |
EntityShootBowEvent.getEntity() |
@NotNull LivingEntity |
EntityBreedEvent.getEntity() |
@NotNull LivingEntity |
EntityBreedEvent.getFather()
Gets the other parent of the newly born entity.
|
@NotNull LivingEntity |
EntityBreedEvent.getMother()
Gets the parent creating this entity.
|
@Nullable LivingEntity |
EntityTargetLivingEntityEvent.getTarget() |
Modifier and Type | Method and Description |
---|---|
double |
PotionSplashEvent.getIntensity(@NotNull 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(@NotNull LivingEntity entity,
double intensity)
Overwrites the intensity for a given entity
|
Modifier and Type | Method and Description |
---|---|
@NotNull LivingEntity |
VehicleExitEvent.getExited()
Get the living entity that exited the vehicle.
|
Constructor and Description |
---|
VehicleExitEvent(@NotNull Vehicle vehicle,
@NotNull LivingEntity exited) |
VehicleExitEvent(@NotNull Vehicle vehicle,
@NotNull LivingEntity exited,
boolean isCancellable) |
Modifier and Type | Method and Description |
---|---|
boolean |
PotionEffect.apply(@NotNull LivingEntity entity)
Attempts to add the effect represented by this object to the given
LivingEntity . |
void |
Potion.apply(@NotNull LivingEntity to)
Deprecated.
Applies the effects that would be applied by this potion to the given
LivingEntity . |
Constructor and Description |
---|
BlockIterator(@NotNull LivingEntity entity)
Constructs the BlockIterator.
|
BlockIterator(@NotNull LivingEntity entity,
int maxDistance)
Constructs the BlockIterator.
|
Copyright © 2021. All rights reserved.