Package net.minecraft.entity
Class AnimationState
java.lang.Object
net.minecraft.entity.AnimationState
- Mappings:
Namespace Name official bff
intermediary net/minecraft/class_7094
named net/minecraft/entity/AnimationState
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
private long
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
void
run
(Consumer<AnimationState> consumer) void
setRunning
(boolean running, int age) void
start
(int age) void
startIfNotRunning
(int age) void
stop()
void
update
(float animationProgress, float speedMultiplier)
-
Field Details
-
STOPPED
private static final long STOPPED- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbff;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
Lbff;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
Lbff;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
Lbff;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
Lbff;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
Lbff;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
Lbff;a()V
intermediary method_41325
Lnet/minecraft/class_7094;method_41325()V
named stop
Lnet/minecraft/entity/AnimationState;stop()V
-
run
- Mappings:
Namespace Name Mixin selector official a
Lbff;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
Lbff;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
Lbff;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
Lbff;c()Z
intermediary method_41327
Lnet/minecraft/class_7094;method_41327()Z
named isRunning
Lnet/minecraft/entity/AnimationState;isRunning()Z
-