Class ScheduleDuties
- java.lang.Object
-
- net.minecraft.entity.ai.brain.schedule.ScheduleDuties
-
public class ScheduleDuties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<DutyTime>
keyframes
private int
previousIndex
-
Constructor Summary
Constructors Constructor Description ScheduleDuties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleDuties
addKeyframe(int p_221394_1_, float p_221394_2_)
float
getValueAt(int p_221392_1_)
private void
sortAndDeduplicateKeyframes()
-
-
-
Field Detail
-
keyframes
private final java.util.List<DutyTime> keyframes
-
previousIndex
private int previousIndex
-
-
Method Detail
-
addKeyframe
public ScheduleDuties addKeyframe(int p_221394_1_, float p_221394_2_)
-
sortAndDeduplicateKeyframes
private void sortAndDeduplicateKeyframes()
-
getValueAt
public float getValueAt(int p_221392_1_)
-
-