Package | Description |
---|---|
net.minecraftforge.client.extensions | |
net.minecraftforge.client.model.animation | |
net.minecraftforge.client.model.b3d | |
net.minecraftforge.common.model.animation |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<? extends IClip> |
IForgeUnbakedModel.getClip(java.lang.String name)
Retrieves information about an animation clip in the model.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
ModelBlockAnimation.MBClip |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<java.lang.String,? extends IClip> |
ModelBlockAnimation.getClips() |
Modifier and Type | Class and Description |
---|---|
class |
B3DClip |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<IClip> |
B3DLoader.ModelWrapper.getClip(java.lang.String name) |
Modifier and Type | Class and Description |
---|---|
static class |
Clips.ClipReference
Reference to another clip.
|
static class |
Clips.IdentityClip
Clip that does nothing.
|
static class |
Clips.ModelClip
Wrapper for model clips; useful for debugging and serialization;
|
static class |
Clips.SlerpClip
Spherical linear blend between 2 clips.
|
static class |
Clips.TimeClip
Clip with custom parameterization of the time.
|
static class |
Clips.TriggerClip
Clip + Event, triggers when parameter becomes non-negative.
|
Modifier and Type | Field and Description |
---|---|
private IClip |
Clips.ModelClip.childClip |
private IClip |
Clips.TimeClip.childClip |
private IClip |
JointClips.NodeJointClip.clip |
private IClip |
Clips.TriggerClip.clip |
private IClip |
Clips.ClipReference.clip |
private IClip |
AnimationStateMachine.currentState |
private IClip |
Clips.SlerpClip.from |
private IClip |
Clips.SlerpClip.to |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<? extends IClip,java.lang.Float,java.lang.Float>,org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>>> |
AnimationStateMachine.clipCache |
private java.util.function.Function<java.lang.String,IClip> |
Clips.ClipReference.clipResolver |
private java.lang.ThreadLocal<java.util.function.Function<java.lang.String,IClip>> |
Clips.CommonClipTypeAdapterFactory.clipResolver |
private com.google.common.collect.ImmutableMap<java.lang.String,IClip> |
AnimationStateMachine.clips |
Modifier and Type | Method and Description |
---|---|
IClip |
AnimationStateMachine.ClipResolver.apply(java.lang.String name) |
static IClip |
Clips.getModelClipNode(ResourceLocation modelLocation,
java.lang.String clipName)
Retrieves the clip from the model.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.lang3.tuple.Pair<IModelTransform,java.lang.Iterable<Event>> |
Clips.apply(IClip clip,
float lastPollTime,
float time)
IModelState wrapper for a Clip, sampled at specified time.
|
Modifier and Type | Method and Description |
---|---|
void |
Clips.CommonClipTypeAdapterFactory.setClipResolver(java.util.function.Function<java.lang.String,IClip> clipResolver) |
Constructor and Description |
---|
ModelClip(IClip childClip,
ResourceLocation modelLocation,
java.lang.String clipName) |
NodeJointClip(IJoint joint,
IClip clip) |
SlerpClip(IClip from,
IClip to,
ITimeValue input,
ITimeValue progress) |
TimeClip(IClip childClip,
ITimeValue time) |
TriggerClip(IClip clip,
ITimeValue parameter,
java.lang.String event) |
Constructor and Description |
---|
AnimationStateMachine(com.google.common.collect.ImmutableMap<java.lang.String,ITimeValue> parameters,
com.google.common.collect.ImmutableMap<java.lang.String,IClip> clips,
com.google.common.collect.ImmutableList<java.lang.String> states,
com.google.common.collect.ImmutableMultimap<java.lang.String,java.lang.String> transitions,
java.lang.String startState) |
ClipReference(java.lang.String clipName,
java.util.function.Function<java.lang.String,IClip> clipResolver) |