Name | Animate |
Syntax | animate [<entity>|...] [animation:<name>] (for:<player>|...) |
Short Description | Makes a list of entities perform a certain animation. |
Full Description | Minecraft implements several player and entity animations which the animate command can use, just
specify an entity and an animation. Player animations require a Player-type entity or NPC. Available player animations include: ARM_SWING, HURT, CRIT, MAGIC_CRIT, SIT, SLEEP, SNEAK, STOP_SITTING, STOP_SLEEPING, STOP_SNEAKING, START_USE_MAINHAND_ITEM, START_USE_OFFHAND_ITEM, STOP_USE_ITEM, EAT_FOOD, ARM_SWING_OFFHAND All entities also have available Bukkit's entity effect list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/EntityEffect.html These EntityEffect options can optionally be played only for specific players with the "for:" argument input. In addition, Denizen adds a few new entity animations: SKELETON_START_SWING_ARM, SKELETON_STOP_SWING_ARM, POLAR_BEAR_START_STANDING, POLAR_BEAR_STOP_STANDING, HORSE_BUCK, HORSE_START_STANDING, HORSE_STOP_STANDING, IRON_GOLEM_ATTACK, VILLAGER_SHAKE_HEAD, SWING_MAIN_HAND, SWING_OFF_HAND Note that the above list only applies where logical, EG 'WOLF_' animations only apply to wolves. In versions 1.20+, to specify the direction of damage for the HURT animation, use EntityTag.play_hurt_animation |
Related Tags | None
|
Usage Example |
|
Usage Example |
|
Group | entity |
Requires | Citizens |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/AnimateCommand.java#L29 |