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 - axn
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate final intHow many frames it takes to switch from fully off to fully on.private intprivate final InterpolatedFlipFlop.SmoothingFunction
- 
Constructor SummaryConstructorsConstructorDescriptionInterpolatedFlipFlop(int frames) InterpolatedFlipFlop(int frames, InterpolatedFlipFlop.SmoothingFunction smoothingFunction) 
- 
Method Summary
- 
Field Details- 
framesprivate 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- Laxn;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- Laxn;b:Laxn$a;
 
- 
currentprivate 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- Laxn;c:I
 
- 
previousprivate 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- Laxn;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>- Laxn;<init>(ILaxn$a;)V
 
- 
InterpolatedFlipFloppublic 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>- Laxn;<init>(I)V
 
 
- 
- 
Method Details- 
tickpublic 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- Laxn;a(Z)V
 
- 
getValuepublic 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- Laxn;a(F)F
 
 
-