Class AnimationEventHandler

java.lang.Object
kr.toxicity.model.api.animation.AnimationEventHandler

public final class AnimationEventHandler extends Object
  • Constructor Details

    • AnimationEventHandler

      public AnimationEventHandler()
  • Method Details

    • start

      @NotNull public static @NotNull AnimationEventHandler start()
    • stateCreated

      @Internal public void stateCreated(@NotNull @NotNull UUID uuid)
    • stateRemoved

      @Internal public void stateRemoved(@NotNull @NotNull UUID uuid)
    • animationRemove

      @Internal public void animationRemove()
    • onAnimationRemove

      @NotNull public @NotNull AnimationEventHandler onAnimationRemove(@NotNull @NotNull Runnable runnable)
    • onStateCreated

      @NotNull public @NotNull AnimationEventHandler onStateCreated(@NotNull @NotNull Consumer<UUID> consumer)
    • onStateRemoved

      @NotNull public @NotNull AnimationEventHandler onStateRemoved(@NotNull @NotNull Consumer<UUID> consumer)