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 IClipclipprivate java.lang.StringclipNameprivate 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 IJointClipapply(IJoint joint)booleanequals(java.lang.Object obj)java.lang.StringgetSerializedName()inthashCode()java.lang.Iterable<Event>pastEvents(float lastPollTime, float time)private voidresolve()
-
-
-
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:
pastEventsin interfaceIClip
-
getSerializedName
public java.lang.String getSerializedName()
- Specified by:
getSerializedNamein interfaceIStringSerializable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-