mirror of https://github.com/Minestom/Minestom.git
24 lines
478 B
Java
24 lines
478 B
Java
package net.minestom.server.event;
|
|
|
|
public class ArmAnimationEvent extends CancellableEvent {
|
|
|
|
private ArmAnimationType armAnimationType;
|
|
|
|
public ArmAnimationEvent(ArmAnimationType armAnimationType) {
|
|
this.armAnimationType = armAnimationType;
|
|
}
|
|
|
|
public ArmAnimationType getArmAnimationType() {
|
|
return armAnimationType;
|
|
}
|
|
|
|
public enum ArmAnimationType {
|
|
BOW,
|
|
CROSSBOW,
|
|
TRIDENT,
|
|
SHIELD,
|
|
EAT
|
|
}
|
|
|
|
}
|