Class AnimationState

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

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

    • STOPPED

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

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

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

    • AnimationState

      public AnimationState()
  • Method Details

    • start

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

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

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

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

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

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

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

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