Class Timeline
java.lang.Object
net.minecraft.world.entity.schedule.Timeline
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddKeyframe
(int p_38061_, float p_38062_) addKeyframes
(Collection<Keyframe> p_150248_) com.google.common.collect.ImmutableList
<Keyframe> float
getValueAt
(int p_38059_) private void
-
Field Details
-
keyframes
-
previousIndex
private int previousIndex
-
-
Constructor Details
-
Timeline
public Timeline()
-
-
Method Details
-
getKeyframes
-
addKeyframe
-
addKeyframes
-
sortAndDeduplicateKeyframes
private void sortAndDeduplicateKeyframes() -
getValueAt
public float getValueAt(int p_38059_)
-