Package net.minecraft.util
Class InterpolatedFlipFlop
java.lang.Object
net.minecraft.util.InterpolatedFlipFlop
- Mappings:
Namespace Name named net/minecraft/util/InterpolatedFlipFlop
intermediary net/minecraft/class_9849
official ays
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final int
How many frames it takes to switch from fully off to fully on.private int
private final InterpolatedFlipFlop.SmoothingFunction
-
Constructor Summary
ConstructorDescriptionInterpolatedFlipFlop
(int frames) InterpolatedFlipFlop
(int frames, InterpolatedFlipFlop.SmoothingFunction smoothingFunction) -
Method Summary
-
Field Details
-
frames
private final int framesHow many frames it takes to switch from fully off to fully on.- Mappings:
Namespace Name Mixin selector named frames
Lnet/minecraft/util/InterpolatedFlipFlop;frames:I
intermediary field_52389
Lnet/minecraft/class_9849;field_52389:I
official a
Lays;a:I
-
smoothingFunction
- Mappings:
Namespace Name Mixin selector named smoothingFunction
Lnet/minecraft/util/InterpolatedFlipFlop;smoothingFunction:Lnet/minecraft/util/InterpolatedFlipFlop$SmoothingFunction;
intermediary field_52390
Lnet/minecraft/class_9849;field_52390:Lnet/minecraft/class_9849$class_9850;
official b
Lays;b:Lays$a;
-
current
private int current- Mappings:
Namespace Name Mixin selector named current
Lnet/minecraft/util/InterpolatedFlipFlop;current:I
intermediary field_52391
Lnet/minecraft/class_9849;field_52391:I
official c
Lays;c:I
-
previous
private int previous- Mappings:
Namespace Name Mixin selector named previous
Lnet/minecraft/util/InterpolatedFlipFlop;previous:I
intermediary field_52392
Lnet/minecraft/class_9849;field_52392:I
official d
Lays;d:I
-
-
Constructor Details
-
InterpolatedFlipFlop
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/InterpolatedFlipFlop;<init>(ILnet/minecraft/util/InterpolatedFlipFlop$SmoothingFunction;)V
intermediary <init>
Lnet/minecraft/class_9849;<init>(ILnet/minecraft/class_9849$class_9850;)V
official <init>
Lays;<init>(ILays$a;)V
-
InterpolatedFlipFlop
public InterpolatedFlipFlop(int frames) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/InterpolatedFlipFlop;<init>(I)V
intermediary <init>
Lnet/minecraft/class_9849;<init>(I)V
official <init>
Lays;<init>(I)V
-
-
Method Details
-
tick
public void tick(boolean active) - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/util/InterpolatedFlipFlop;tick(Z)V
intermediary method_61340
Lnet/minecraft/class_9849;method_61340(Z)V
official a
Lays;a(Z)V
-
getValue
public float getValue(float tickDelta) - Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/util/InterpolatedFlipFlop;getValue(F)F
intermediary method_61339
Lnet/minecraft/class_9849;method_61339(F)F
official a
Lays;a(F)F
-