Class PlayerTriggerAnimationEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.cosmetics.event.PlayerTriggerAnimationEvent
All Implemented Interfaces:
ArenaEvent, Cancellable

public class PlayerTriggerAnimationEvent extends PlayerEvent implements ArenaEvent, Cancellable
Gets called when a player triggers a cosmetic during a match.

More precisely, this is event is called right before the animation of the player's current active cosmetic is played.

This event is only called for items of the category CosmeticItemCategory.isAnimation().