Function drive
Source pub fn drive(
forward: impl Arg<f32>,
strafe: impl Arg<f32>,
jump: impl Arg<bool>,
sneak: impl Arg<bool>,
sprint: impl Arg<bool>,
use_item: impl Arg<bool>,
) -> bool
Expand description
Holds the movement keys each tick till release: forward -1
(back) to 1, strafe -1 (right) to 1 (left); use_item raises a
shield, draws a bow, eats.
Calls Drive; what no one answers reads as the reply’s default.