Class TimeValues.ParameterValue
java.lang.Object
net.minecraftforge.common.animation.TimeValues.ParameterValue
- All Implemented Interfaces:
StringRepresentable
,ITimeValue
- Enclosing class:
- TimeValues
public static final class TimeValues.ParameterValue
extends Object
implements ITimeValue, StringRepresentable
-
Field Summary
Modifier and TypeFieldDescriptionprivate ITimeValue
private String
private 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 interfaceStringRepresentable
-
resolve
private void resolve() -
apply
public float apply(float input)- Specified by:
apply
in interfaceITimeValue
-
hashCode
public int hashCode() -
equals
-