loggers
This commit is contained in:
1 parent
7d9418016a
commit
8b0b5412c4
9 files changed
+161
-13
No files matched your search
@@ -28,11 +28,11 @@ public class TrajectoryLogHelper
|
||||
this.doLog = this.logger.hasOnlineSubscribers();
|
||||
}
|
||||
|
||||
public void onTick(double x, double y, double z, double motionX, double motionY, double motionZ)
|
||||
public void onTick(double x, double y, double z, Vec3d velocity)
|
||||
{
|
||||
if (!doLog) return;
|
||||
positions.add(new Vec3d(x, y, z));
|
||||
motions.add(new Vec3d(motionX, motionY, motionZ));
|
||||
motions.add(velocity);
|
||||
}
|
||||
|
||||
public void onFinish()
|
||||
|
||||
Reference in new issue
Block a user