Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api crate animation
com.phoenixplugins.phoenixcrates.api.crate.animation

Interface PhaseRunner



  • public interface PhaseRunner
    Interface to handle the running of an animation within an opening animation session.

    This interface defines the methods to access animation-related properties and information, including the animation type, session, crate, player, and animation properties.

    It also defines lifecycle and control methods (baseLoad(), baseTick(), baseUnload(), nextPhase()) that manage the execution flow of the animation.

    • Method Summary

      Modifier and Type Method and Description
      void baseLoad()
      Performs the base load sequence of the animation.
      void baseTick()
      Performs the base tick logic of the animation.
      void baseUnload()
      Performs the base unload sequence of the animation.
      OpeningAnimationHandler getHandler()
      Gets the opening animation handler responsible for this animation.
      AnimationPhase getPhase()
      Gets the animation phase associated with this runner, describing the current stage of animation.
      AnimationProperties getProperties()
      Gets the properties for this animation, allowing access to configurable settings that control its behavior.
      void nextPhase()
      Proceeds to the next phase of the animation.
    • Method Detail

      • getHandler

        OpeningAnimationHandler getHandler()
        Gets the opening animation handler responsible for this animation.
        Returns:
        The opening animation handler.
      • getPhase

        AnimationPhase getPhase()
        Gets the animation phase associated with this runner, describing the current stage of animation.
        Returns:
        The animation phase.
      • getProperties

        AnimationProperties getProperties()
        Gets the properties for this animation, allowing access to configurable settings that control its behavior.
        Returns:
        The animation properties.
      • baseLoad

        void baseLoad()
        Performs the base load sequence of the animation. Typically calls load() and sets internal state to mark the animation as ready to tick.
      • baseTick

        void baseTick()
        Performs the base tick logic of the animation. Handles waiting states and calls tick() when appropriate.
      • baseUnload

        void baseUnload()
        Performs the base unload sequence of the animation. Typically calls unload() to release resources and stop the animation.
      • nextPhase

        void nextPhase()
        Proceeds to the next phase of the animation. If another animation is currently playing, this may set the runner into a waiting state until it can advance.
Last updated about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more