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. |
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(EntityAnimation animation)
Plays an animation for this entity to nearby clients.
|
void |
Player.playAnimationToSelf(EntityAnimation animation)
Plays an animation to the player itself.
|
Copyright © 2021. All rights reserved.