Class Timeline

java.lang.Object
net.minecraft.world.entity.schedule.Timeline

public class Timeline extends Object
  • Field Details

    • keyframes

      private final List<Keyframe> keyframes
    • previousIndex

      private int previousIndex
  • Constructor Details

    • Timeline

      public Timeline()
  • Method Details

    • getKeyframes

      public com.google.common.collect.ImmutableList<Keyframe> getKeyframes()
    • addKeyframe

      public Timeline addKeyframe(int p_38061_, float p_38062_)
    • addKeyframes

      public Timeline addKeyframes(Collection<Keyframe> p_150248_)
    • sortAndDeduplicateKeyframes

      private void sortAndDeduplicateKeyframes()
    • getValueAt

      public float getValueAt(int p_38059_)