Upload files to "src/openonyx/movement"
This commit is contained in:
1 parent
6628e46ab4
commit
fea7f8008d
5 files changed
+240
No files matched your search
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user