Upload files to "/"
This commit is contained in:
12
PathInput.java
Normal file
12
PathInput.java
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user