Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
Modifier and Type | Method and Description |
---|---|
static EntityAnimation |
EntityAnimation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityAnimation[] |
EntityAnimation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
LivingEntity.playAnimation(@NotNull EntityAnimation animation)
Plays an animation for this entity to nearby clients.
|
void |
Player.playAnimationToSelf(@NotNull EntityAnimation animation)
Plays an animation to the player itself.
|
Copyright © 2021. All rights reserved.