Class AnimationStateMachine.ParameterResolver
- java.lang.Object
-
- net.minecraftforge.common.model.animation.AnimationStateMachine.ParameterResolver
-
- All Implemented Interfaces:
java.util.function.Function<java.lang.String,ITimeValue>
- Enclosing class:
- AnimationStateMachine
private static final class AnimationStateMachine.ParameterResolver extends java.lang.Object implements java.util.function.Function<java.lang.String,ITimeValue>
-
-
Field Summary
Fields Modifier and Type Field Description private AnimationStateMachine
asm
private com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue>
customParameters
-
Constructor Summary
Constructors Constructor Description ParameterResolver(com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> customParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITimeValue
apply(java.lang.String name)
-
-
-
Field Detail
-
customParameters
private final com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> customParameters
-
asm
private AnimationStateMachine asm
-
-
Constructor Detail
-
ParameterResolver
public ParameterResolver(com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> customParameters)
-
-
Method Detail
-
apply
public ITimeValue apply(java.lang.String name)
- Specified by:
apply
in interfacejava.util.function.Function<java.lang.String,ITimeValue>
-
-