Package net.minecraft.entity
Class AnimationState
java.lang.Object
net.minecraft.entity.AnimationState
- Mappings:
Namespace Name named net/minecraft/entity/AnimationState
intermediary net/minecraft/class_7094
official bvb
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFrom
(AnimationState state) long
getTimeInMilliseconds
(float age) boolean
void
run
(Consumer<AnimationState> consumer) void
setRunning
(boolean running, int tick) void
skip
(int ticks, float speedMultiplier) void
start
(int tick) void
startIfNotRunning
(int tick) void
stop()
-
Field Details
-
STOPPED
private static final int STOPPED- See Also:
- Mappings:
Namespace Name Mixin selector named STOPPED
Lnet/minecraft/entity/AnimationState;STOPPED:I
intermediary field_37417
Lnet/minecraft/class_7094;field_37417:I
official a
Lbvb;a:I
-
startTick
private int startTick- Mappings:
Namespace Name Mixin selector named startTick
Lnet/minecraft/entity/AnimationState;startTick:I
intermediary field_52433
Lnet/minecraft/class_7094;field_52433:I
official b
Lbvb;b:I
-
-
Constructor Details
-
AnimationState
public AnimationState()
-
-
Method Details
-
start
public void start(int tick) - 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
Lbvb;a(I)V
-
startIfNotRunning
public void startIfNotRunning(int tick) - 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
Lbvb;b(I)V
-
setRunning
public void setRunning(boolean running, int tick) - 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
Lbvb;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
Lbvb;a()V
-
run
- 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
Lbvb;a(Ljava/util/function/Consumer;)V
-
skip
public void skip(int ticks, 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
Lbvb;a(IF)V
-
getTimeInMilliseconds
public long getTimeInMilliseconds(float age) - Mappings:
Namespace Name Mixin selector named getTimeInMilliseconds
Lnet/minecraft/entity/AnimationState;getTimeInMilliseconds(F)J
intermediary method_61400
Lnet/minecraft/class_7094;method_61400(F)J
official a
Lbvb;a(F)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 b
Lbvb;b()Z
-
copyFrom
- Mappings:
Namespace Name Mixin selector named copyFrom
Lnet/minecraft/entity/AnimationState;copyFrom(Lnet/minecraft/entity/AnimationState;)V
intermediary method_61401
Lnet/minecraft/class_7094;method_61401(Lnet/minecraft/class_7094;)V
official a
Lbvb;a(Lbvb;)V
-