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
FieldsModifier and TypeFieldDescriptionprivate ITimeValueprivate Stringprivate Function<String,ITimeValue> -
Constructor Summary
ConstructorsConstructorDescriptionParameterValue(String parameterName, Function<String,ITimeValue> valueResolver) -
Method Summary
-
Field Details
-
parameterName
-
valueResolver
-
parameter
-
-
Constructor Details
-
ParameterValue
-
-
Method Details
-
getSerializedName
- Specified by:
getSerializedNamein interfaceStringRepresentable
-
resolve
private void resolve() -
apply
public float apply(float input)- Specified by:
applyin interfaceITimeValue
-
hashCode
public int hashCode() -
equals
-