Class AnimationState

java.lang.Object
net.minecraft.world.entity.AnimationState

public class AnimationState extends Object
  • Field Details

    • STOPPED

      private static final long STOPPED
      See Also:
    • lastTime

      private long lastTime
    • accumulatedTime

      private long accumulatedTime
  • Constructor Details

    • AnimationState

      public AnimationState()
  • Method Details

    • start

      public void start(int p_216978_)
    • startIfStopped

      public void startIfStopped(int p_216983_)
    • animateWhen

      public void animateWhen(boolean p_252220_, int p_249486_)
    • stop

      public void stop()
    • ifStarted

      public void ifStarted(Consumer<AnimationState> p_216980_)
    • updateTime

      public void updateTime(float p_216975_, float p_216976_)
    • fastForward

      public void fastForward(int p_332215_, float p_335055_)
    • getAccumulatedTime

      public long getAccumulatedTime()
    • isStarted

      public boolean isStarted()