13 lines
484 B
Java
13 lines
484 B
Java
package xyz.nodrop.farmingtools.client.pathfinding;
|
|
|
|
/**
|
|
* Snapshot of movement input for one tick.
|
|
* Passed from PathExecutor → MixinKeyboardInput.
|
|
*
|
|
* movementForward: 1.0 = forward, -1.0 = back
|
|
* movementSideways: 1.0 = left, -1.0 = right (MC convention)
|
|
*/
|
|
public record PathInput(float forward, float sideways, float upward, boolean jumping, boolean sprint, boolean sneaking) {
|
|
public static final PathInput NONE = new PathInput(0, 0, 0, false, false, false);
|
|
}
|