Double-tap jump to toggle flight mode, then use jump/crouch to adjust altitude, and land if you hit the ground
Based on voxel-fly by @maxogden, but for voxel-engine-stackgl, no longer controls or depends on voxel-player, and loads as a plugin.
npm install voxel-flight
Load with voxel-plugins. Requires voxel-keys.
Get a reference to the plugin
Start flight, as if the user double-tapped jump to enter flight mode
Stop flight
Toggle flight
BSD