Class TimeValues.ParameterValue
java.lang.Object
net.minecraftforge.common.animation.TimeValues.ParameterValue
- All Implemented Interfaces:
IStringSerializable
,ITimeValue
- Enclosing class:
- TimeValues
public static final class TimeValues.ParameterValue
extends Object
implements ITimeValue, IStringSerializable
-
Field Summary
Modifier and TypeFieldDescriptionprivate ITimeValue
private final String
private final Function<String,
ITimeValue> -
Constructor Summary
ConstructorDescriptionParameterValue
(String parameterName, Function<String, ITimeValue> valueResolver) -
Method Summary
-
Field Details
-
parameterName
-
valueResolver
-
parameter
-
-
Constructor Details
-
ParameterValue
-
-
Method Details
-
getSerializedName
- Specified by:
getSerializedName
in interfaceIStringSerializable
-
resolve
private void resolve() -
apply
public float apply(float input) - Specified by:
apply
in interfaceITimeValue
-
hashCode
public int hashCode() -
equals
-