Class NativeUiAnimationLifecycle

java.lang.Object
com.viaversion.viafabricplus.bedrock.screen.ui.NativeUiAnimationLifecycle

public final class NativeUiAnimationLifecycle extends Object
Applies authored animation destruction to the resolved control tree.
  • Constructor Details

  • Method Details

    • advance

      public void advance(long elapsedNanos)
    • animations

      public NativeUiAnimations animations()
    • drainRetiredFactories

      public List<NativeUiScene.Node> drainRetiredFactories()
      Hosts retire only these completed creations, after animation traversal has finished.
    • requestExit

      public boolean requestExit(long elapsedNanos)
      Returns whether an authored pop exit must finish before its host removes the scene.
    • exiting

      public boolean exiting()
    • exitComplete

      public boolean exitComplete()
    • replaceRoot

      public void replaceRoot(NativeUiScene.Node root, long elapsedNanos)
      Binding refreshes retain control clocks; new controls start at the refresh time.