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_)
    • stop

      public void stop()
    • ifStarted

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

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

      public long getAccumulatedTime()
    • isStarted

      public boolean isStarted()