Ground Spoof Flight

ground_spoof_flight.js
registerFeature("Ground Spoof Flight", "Simple Ground Spoof Flight", (feature) => {
    feature.subscribe("player_send_update", (event) => {
        if (event.type != "pre") return;

        event.onGround = true;
        MC.player.getVelocity().y = 0.0;
    });
});

Last updated