19 lines
343 B
Java
19 lines
343 B
Java
package net.minecraft.world.entity.schedule;
|
|
|
|
public class Keyframe {
|
|
private final int timeStamp;
|
|
private final float value;
|
|
|
|
public Keyframe(int timestamp, float value) {
|
|
this.timeStamp = timestamp;
|
|
this.value = value;
|
|
}
|
|
|
|
public int getTimeStamp() {
|
|
return this.timeStamp;
|
|
}
|
|
|
|
public float getValue() {
|
|
return this.value;
|
|
}
|
|
}
|