Class AnimationState

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

public class AnimationState extends Object
Mappings:
Namespace Name
named net/minecraft/entity/AnimationState
intermediary net/minecraft/class_7094
official bsl
  • Field Details

    • STOPPED

      private static final long STOPPED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named STOPPED Lnet/minecraft/entity/AnimationState;STOPPED:J
      intermediary field_37417 Lnet/minecraft/class_7094;field_37417:J
      official a Lbsl;a:J
    • updatedAt

      private long updatedAt
      Mappings:
      Namespace Name Mixin selector
      named updatedAt Lnet/minecraft/entity/AnimationState;updatedAt:J
      intermediary field_37418 Lnet/minecraft/class_7094;field_37418:J
      official b Lbsl;b:J
    • timeRunning

      private long timeRunning
      Mappings:
      Namespace Name Mixin selector
      named timeRunning Lnet/minecraft/entity/AnimationState;timeRunning:J
      intermediary field_39112 Lnet/minecraft/class_7094;field_39112:J
      official c Lbsl;c:J
  • Constructor Details

    • AnimationState

      public AnimationState()
  • Method Details

    • start

      public void start(int age)
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/AnimationState;start(I)V
      intermediary method_41322 Lnet/minecraft/class_7094;method_41322(I)V
      official a Lbsl;a(I)V
    • startIfNotRunning

      public void startIfNotRunning(int age)
      Mappings:
      Namespace Name Mixin selector
      named startIfNotRunning Lnet/minecraft/entity/AnimationState;startIfNotRunning(I)V
      intermediary method_41324 Lnet/minecraft/class_7094;method_41324(I)V
      official b Lbsl;b(I)V
    • setRunning

      public void setRunning(boolean running, int age)
      Mappings:
      Namespace Name Mixin selector
      named setRunning Lnet/minecraft/entity/AnimationState;setRunning(ZI)V
      intermediary method_45317 Lnet/minecraft/class_7094;method_45317(ZI)V
      official a Lbsl;a(ZI)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/AnimationState;stop()V
      intermediary method_41325 Lnet/minecraft/class_7094;method_41325()V
      official a Lbsl;a()V
    • run

      public void run(Consumer<AnimationState> consumer)
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/AnimationState;run(Ljava/util/function/Consumer;)V
      intermediary method_41323 Lnet/minecraft/class_7094;method_41323(Ljava/util/function/Consumer;)V
      official a Lbsl;a(Ljava/util/function/Consumer;)V
    • update

      public void update(float animationProgress, float speedMultiplier)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/entity/AnimationState;update(FF)V
      intermediary method_43686 Lnet/minecraft/class_7094;method_43686(FF)V
      official a Lbsl;a(FF)V
    • skip

      public void skip(int seconds, float speedMultiplier)
      Mappings:
      Namespace Name Mixin selector
      named skip Lnet/minecraft/entity/AnimationState;skip(IF)V
      intermediary method_56988 Lnet/minecraft/class_7094;method_56988(IF)V
      official a Lbsl;a(IF)V
    • getTimeRunning

      public long getTimeRunning()
      Mappings:
      Namespace Name Mixin selector
      named getTimeRunning Lnet/minecraft/entity/AnimationState;getTimeRunning()J
      intermediary method_43687 Lnet/minecraft/class_7094;method_43687()J
      official b Lbsl;b()J
    • isRunning

      public boolean isRunning()
      Mappings:
      Namespace Name Mixin selector
      named isRunning Lnet/minecraft/entity/AnimationState;isRunning()Z
      intermediary method_41327 Lnet/minecraft/class_7094;method_41327()Z
      official c Lbsl;c()Z