Class Clips.ClipReference
- java.lang.Object
-
- net.minecraftforge.common.model.animation.Clips.ClipReference
-
- All Implemented Interfaces:
IStringSerializable
,IClip
- Enclosing class:
- Clips
public static final class Clips.ClipReference extends java.lang.Object implements IClip, IStringSerializable
Reference to another clip. Should only exist during debugging.
-
-
Field Summary
Fields Modifier and Type Field Description private IClip
clip
private java.lang.String
clipName
private java.util.function.Function<java.lang.String,IClip>
clipResolver
-
Constructor Summary
Constructors Constructor Description ClipReference(java.lang.String clipName, java.util.function.Function<java.lang.String,IClip> clipResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJointClip
apply(IJoint joint)
boolean
equals(java.lang.Object obj)
java.lang.String
getSerializedName()
int
hashCode()
java.lang.Iterable<Event>
pastEvents(float lastPollTime, float time)
private void
resolve()
-
-
-
Constructor Detail
-
ClipReference
public ClipReference(java.lang.String clipName, java.util.function.Function<java.lang.String,IClip> clipResolver)
-
-
Method Detail
-
resolve
private void resolve()
-
apply
public IJointClip apply(IJoint joint)
-
pastEvents
public java.lang.Iterable<Event> pastEvents(float lastPollTime, float time)
- Specified by:
pastEvents
in interfaceIClip
-
getSerializedName
public java.lang.String getSerializedName()
- Specified by:
getSerializedName
in interfaceIStringSerializable
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-