package openonyx.movement; import net.minecraft.util.Vec3; public class PredictionCursor implements SimulatedEntity { private int H; private final PredictionTrack predictionTrack; public PredictionCursor(PredictionTrack predictionTrack) { this.predictionTrack = predictionTrackx; } public int L() { return this.H; } @Override public Vec3 pos() { return this.predictionTrack.L(this.H).pos(); } @Override public void L() { this.H++; } public PredictionTrack getPredictionTrack() { return this.predictionTrack; } }