Skip to content

joe7575/moonwalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moon Walk Mod [moonwalk]

A Luanti (formerly Minetest) mod that allows players to experience moon-like gravity with reduced gravitational force. Primarily designed for game parks and adventure areas.

Moon Walk in action

Compatibility

Luanti 5.x compatible

  • Requires player_monoids

Features

  • Low Gravity Zone: Activate a 50-block radius area with 12% normal gravity (moon-like conditions)
  • Glowing Block: The Moon Walk block emits light (light level 10) for easy visibility in darkness
  • player_monoids Integration: Uses player_monoids.gravity directly for simple, compatible gravity changes
  • Automatic Timeout: Moon Walk effect automatically disables after 2 minutes
  • Boundary Control: Players are kept within the effect radius and returned to the last valid position if they try to leave

Installation

  1. Download or clone this repository
  2. Place the moonwalk folder in your Luanti mods directory
  3. Install player_monoids
  4. Enable the mod in your world configuration

Crafting Recipe

Steel Ingot    Mese Crystal    Steel Ingot
Copper Ingot   Mese Block      Copper Ingot
Steel Ingot    Mese Crystal    Steel Ingot

Usage

  1. Craft the Moon Walk block using the recipe above
  2. Place the Moon Walk block anywhere in your world
  3. Right-click the block to activate moon gravity
  • Your gravity will be reduced to 12% of normal
  • You can jump much higher and fall much slower
  • The block will display "Moon Walk busy" while active
  1. Right-click again to deactivate and return to normal gravity
    • You will be teleported 1.5 blocks above the Moon Walk block
    • The block will display "Moon Walk free"

Note: The effect automatically deactivates after 2 minutes (120 seconds) for safety.

Technical Details

Physics Handling

Moon Walk uses player_monoids.gravity directly. Activation adds the gravity change with a stable ID, and deactivation removes that same change again.

Event Handlers

The mod automatically restores normal physics when:

  • A player joins the game (on_joinplayer)
  • A player respawns (on_respawnplayer)
  • A player leaves the game (on_leaveplayer)
  • A player dies (on_dieplayer)

Configuration

You can modify these values in init.lua:

  • TIMEOUT = 120 - Duration in seconds (default: 2 minutes)
  • RADIUS = 50 - Effect radius in blocks (default: 50 blocks)

Version History

  • v0.03 (2026-05-19)

    • Simplified the mod to gravity-only behavior
    • Made player_monoids a required dependency
    • Removed experimental compatibility workarounds
  • v0.02 (2026-05-17)

    • Updated to modern Luanti API
    • Added Player Physics Locking Pattern
    • Added glowing effect (light_source = 10)
    • Added crafting recipe
    • Fixed deprecated function calls
    • Improved LBM efficiency
  • v0.01 (2017-11-25)

    • Initial release
    • Originally from the "Joes Miniwelt" server, not previously available as a standalone mod

License

Code: LGPLv2.1+
Textures: CC BY-SA 3.0

Author

Copyright (C) 2017-2026 Joachim Stolberg

Credits

About

Puts the caller in low gravity, like on the moon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages