public class ModelBlockAnimation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ModelBlockAnimation.MBClip |
protected static class |
ModelBlockAnimation.MBJoint |
protected static class |
ModelBlockAnimation.MBJointWeight |
protected static class |
ModelBlockAnimation.MBVariableClip |
protected static class |
ModelBlockAnimation.Parameter |
Constructor and Description |
---|
ModelBlockAnimation(com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.collect.ImmutableMap<java.lang.String,float[]>> joints,
com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip> clips) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip> |
getClips() |
com.google.common.collect.ImmutableCollection<ModelBlockAnimation.MBJointWeight> |
getJoint(int i) |
TRSRTransformation |
getPartTransform(IModelState state,
BlockPart part,
int i) |
static ModelBlockAnimation |
loadVanillaAnimation(IResourceManager manager,
ResourceLocation armatureLocation)
Load armature associated with a vanilla model.
|
public ModelBlockAnimation(com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.collect.ImmutableMap<java.lang.String,float[]>> joints, com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip> clips)
public com.google.common.collect.ImmutableMap<java.lang.String,ModelBlockAnimation.MBClip> getClips()
public com.google.common.collect.ImmutableCollection<ModelBlockAnimation.MBJointWeight> getJoint(int i)
public TRSRTransformation getPartTransform(IModelState state, BlockPart part, int i)
public static ModelBlockAnimation loadVanillaAnimation(IResourceManager manager, ResourceLocation armatureLocation)