Sprinting

Description

Get anywhere faster by running. The sprint mechanic is something essential in open-world games like Minetest. So, here is the mod that allows just that: Sprinting. Sprint by double-tapping the forward key (usually W) or using Aux1 key (default E). When you are sprinting, you get faster, your Field of View changes and ground particles begin to appear behind you. Also, you jump a little higher.

Features

  • Double-tap W (or forward key) or tap the Aux1 key (default E) to sprint.
  • Adjustable speed and jump multipliers.
  • Hunger/stamina drain mechanics (supports stamina, hunger_ng, and hbhunger).
  • Support for Character Animations mod.
  • FOV transitions between sprint and walk mode.
  • Customizable particle effects.

Requirements

  • Minetest 5.0+
  • Required Mods:
    • default
    • player_api

Recommended Mods

If you want to complement the mod with a hunger(stamina) system, consider installing:

  • stamina
  • hunger_ng
  • hbhunger

How to Use

  • Activation: Double-tap the W key or tap the Aux1 key (default E).
  • Effects:
    • Speed and jump boosts while sprinting (configurable).
    • FOV increases smoothly for a "fast" feel (configurable).
    • Particles spawn underfoot (toggleable in settings).
  • Conditions:
    • Requires ground contact (toggleable in settings).
    • The player is not on a ladder (toggleable in settings).
    • The player is not on a liquid such as water or lava (toggleable in settings).
    • The player is not crouching.
    • The player has enough hunger/stamina (configurable).
  • Cancellation: Stops automatically if:
    • You collide with a node.
    • You release the forward key.
    • You enter a liquid such as water or lava (toggleable in settings).
    • You climb a ladder (toggleable in settings).
    • You sneak
    • Stamina/hunger drops below thresholds (configurable).

Settings

Configure in minetest.conf or via the in-game "Settings" menu:

Setting Name Type Default Description
sprinting_use_aux1 bool true Use Aux1 key (default E) for sprinting
sprinting_speed_multiplier float 1.5 Sprint speed multiplier
sprinting_jump_multiplier float 1.10 Sprint jump height multiplier
sprinting_drain_stamina bool true Enable stamina drain during sprint
sprinting_stamina_drain int 5 Stamina drain per second (in percentage).
sprinting_stamina_threshold int 10 Minimum stamina required to sprint (in percentage).
sprinting_require_ground bool true Prevents starting sprints if the player is in the air
sprinting_sprint_on_climbable bool false Allows sprint on climbable nodes
sprinting_sprint_in_liquids bool true Allows sprint/swimming on liquids such as water, lava, etc
sprinting_spawn_particles bool true Spawn particles while sprinting
sprinting_change_fov bool true Change the Field Of View when the player start sprinting
sprinting_fov_boost int 20 FOV increase during sprint
sprinting_fov_transition_time float 0.4 FOV transition time

Note: The "Stamina Drain" setting in hunger mods does not affect the stamina drain while running in this mod.

Acknowledgement

A small mention of those who contributed to this mod.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2.0.6

Download

Luanti 5.0+

2025-11-03 18:05 UTC

2.0.6 🔗

  • Modularization and code reorganization
  • Fixed the bug that sometimes allowed the player to sprint while fully submerged in water.

2.0.5

Download

Luanti 5.0+

2025-08-17 16:39 UTC

2.0.5 🔗

The stamina and hunger settings was unified for a better user experience. And now percentage is used in that setting instead of the real values, which could be confusing.

The bug related to the default value of "sprinting_sprint_on_climbable" setting was fixed.

2.0.4

Download

Luanti 5.0+

2025-07-23 08:42 UTC

2.0.4 🔗

It's now possible to sprint underwater while sneak key is pressed

Fixed bug that causes sprint to stop after multiple jumps while sprinting

Fixed bug where at certain point underwater the player could sprint even if sprint_in_liquids is disabled

Increased the value of TIME_IN_AIR_LIMIT from 0.85 to 0.9

2.0.3

Download

Luanti 5.0+

2025-07-03 13:26 UTC

2.0.3 🔗

Added sprint cancellation when player start flying

The following bugs were fixed:

  1. Player can sprint even if exceeds the stamina threshold
  2. Player can sprint in climbable nodes even if this setting is disabled
  3. Player cannot sprint in water even if this setting is enabled

2.0.2

Download

Luanti 5.0+

2025-06-26 21:11 UTC

2.0.2 🔗

Was added collision detection for sprint cancellation

Sprint in climbable nodes is now possible even if you run against a wall

Code was organized

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

sprinting

Dependencies

Required
default player_api
Optional
character_anim hbhunger hunger_ng stamina

Information

Type
Mod
Technical Name
sprinting
Languages
English
License
MIT
Maintenance State
Work in Progress
Added
2025-03-11 18:53 UTC
Maintainers
xXOsielXx