Package net.minecraft.util
Class SmoothDouble
java.lang.Object
net.minecraft.util.SmoothDouble
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetNewDeltaValue(double pInput, double pMultiplier) voidreset()
-
Field Details
-
targetValue
private double targetValue -
remainingValue
private double remainingValue -
lastAmount
private double lastAmount
-
-
Constructor Details
-
SmoothDouble
public SmoothDouble()
-
-
Method Details
-
getNewDeltaValue
public double getNewDeltaValue(double pInput, double pMultiplier) -
reset
public void reset()
-