← Collections

GitHub

Air Minecraft

A 6-DOF free-flight drone simulator built on the Luanti voxel engine, reimagining Minecraft-style worlds for aerial robotics research, spatial intelligence, and reinforcement learning.

May 25, 2026 SimulationSpatial IntelligenceMinecraftDroneReinforcement LearningUAV GitHub Bilibili

Air Minecraft: Drone Flight in a Voxel World

Air Minecraft is an open-source 6-DOF free-flight drone simulator built on the Luanti voxel game engine (formerly Minetest). It reimagines the Minecraft-style block world for aerial robotics research, offering full yaw/pitch/roll control, multi-view cameras, a navigation system, and a foundation for visual reinforcement learning.

Instead of relying on large-scale pre-built simulation environments like AirSim, Air Minecraft leverages the infinite creative flexibility of a block-based voxel world — users can build, modify, and share any environment, then fly through it with a realistic drone model.

Flight Example

Why Air Minecraft Exists

With the rapid advancement of Spatial Intelligence and Embodied AI, models like World-Action Models (WAM) and Vision-Language-Action (VLA) models are gaining significant traction. In the UAV domain, researchers often rely on AirSim for simulation, but AirSim’s large-scale pre-built environments offer limited creative flexibility and require substantial computational resources.

Minecraft’s block-based world provides a compelling alternative:

Air Minecraft bridges the Minecraft AI research community and the Luanti ecosystem, bringing more attention and contributions to open-source voxel platforms while providing a practical tool for aerial robotics research.

Features

Drone Mode

A dedicated 6-DOF free-flight drone experience:

FeatureDescription
6-DOF FlightFull yaw / pitch / roll control with smooth interpolation
5 Camera ViewsFront, Back, Left, Right, Bottom — all in first-person
First / Third PersonToggle between immersive first-person and model-visible third-person views
3D Drone ModelRealistic drone OBJ model with texture rendering
Navigation SystemSet waypoint targets on a minimap; see distance and direction in the HUD
Large Map OverlayClick-to-navigate on an expanded map view
HUD PanelReal-time telemetry: altitude, speed, position, yaw/pitch/roll, nav distance

Normal Mode

The original Luanti gameplay is fully preserved. Players can create, build, mine, craft, and explore worlds using the standard human character model. Worlds and structures created in normal mode can be shared and used as flight environments in drone mode.

ContentDB Integration

Air Minecraft is compatible with ContentDB, giving access to thousands of community-created games, mods, texture packs, and pre-built worlds.

Controls

Drone Mode

KeyAction
W A S DMove forward / left / backward / right
SpaceAscend
ShiftDescend
MouseLook / Yaw & Pitch
CSwitch between 5 camera views (Front → Back → Left → Right → Bottom)
TToggle 1st / 3rd person
R / FRoll left / right
HToggle HUD panel
+ / -Map zoom in / out
EscPause menu (set nav target, settings, etc.)

Normal Mode

KeyAction
W A S DMove
SpaceJump
ShiftSneak
MouseLook around
Left ClickDig / Punch
Right ClickPlace / Use
IInventory
CCycle camera (1st / 3rd / 3rd-front)
EscPause menu

Project Structure

AirMinecraft/
├── bin/                   # Compiled binary
├── build/                 # Build directory and macOS app bundle
│   └── macos/luanti.app/  # macOS application
├── src/                   # C++ source code
│   ├── client/            # Client-side: rendering, camera, HUD, CAO
│   │   ├── drone_hud.cpp  # Drone HUD overlay (telemetry, minimap, navigation)
│   │   ├── camera.cpp     # Camera modes, drone views, third-person offset
│   │   └── content_cao.cpp # Player model, 6DOF rotation, visual override
│   └── server/            # Server-side logic
├── games/devtest/         # Development Test game with drone mod
│   └── mods/g_drone_model/ # Drone 3D model and 6DOF rotation mod
├── builtin/mainmenu/      # Main menu UI (Lua)
│   └── tab_drone.lua      # Drone Mode tab
├── doc/                   # Documentation
├── script/                # Utility scripts
└── textures/              # Game textures and drone assets

Getting Started

macOS

# Clone the repository
git clone https://github.com/choucisan/AirMinecraft.git
cd AirMinecraft

# Install dependencies via Homebrew
brew install cmake freetype gettext gmp hiredis jpeg-turbo jsoncpp leveldb libogg libpng libvorbis luajit zstd sdl2 curl

# Build
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(sysctl -n hw.ncpu)

The compiled binary will be at bin/luanti. Run with:

./bin/luanti
# Or open the macOS app bundle
open ./build/macos/luanti.app

Docker (All Platforms)

# Build the development image
docker buildx build --target dev -t airminecraft-dev:0 .

# Run with source mounted
docker run -it \
  --mount type=bind,source="$(pwd)",target=/AirMinecraft \
  airminecraft-dev:0

Starting a Drone Flight

  1. Launch the application
  2. Select the Drone Mode tab in the main menu
  3. Select a world from the list (or create a new one)
  4. Click Start Drone Flight
  5. You are now in 6-DOF drone mode — press T for third-person view, H for HUD, N for navigation map

Roadmap

Phase 1 (Current)

Phase 2 — Closed-Loop Training & Evaluation

Visual RL Environment

VLA / WAM Closed-Loop Training & Evaluation

Highlights

License and Contact

Air Minecraft is licensed under the GNU LGPL v2.1 or later, the same license as the Luanti engine it is built upon.

For questions, collaborations, or contributions, contact choucisan@gmail.com.