LEGO Sandbox Engine

Godot 4.6 + Rust GDExtension | 222 Blocks | Survival | Infinite World

Back to Home Builder Tycoon

Rust-Powered Voxel Engine

High-performance voxel sandbox with Rust GDExtension backend. Terrain generation, greedy meshing, flood-fill lighting all in native Rust. Multi-threaded via WorkerThreadPool.

GitHub Repository Download ZIP
B

222 Block Types

14 shapes x 8 colors

W

View Distance 24

Chunk 16x128x16

R

Rust GDExtension

Terrain, light, mesh in Rust

M

Rivers & Beaches

Snow caps, lakes, mountains

V

Villages

8 building types + landmarks

A

5 Animals

Cow, Chicken, Sheep, Bird, Fish

H

Survival Mode

Health, Hunger, Death System

T

12 Tools

Wood/Stone/Iron + Durability

C

Crafting Grid

2x2 UI + Recipe System

W

Weather

Rain particles + sound

F

Farming

Seeds to Sprout to Harvest

S

Chests

27-slot persistent storage

14 Block Shapes x 8 Colors = 200+ Variants

ShapeCountColors
Cube50Oak, White, Black, Red, Blue, Yellow, Green, Gray
Slab40
Ramp (4 dirs)32
Stair (4 dirs)32
Pillar8
Fence8
Wall8
Gate8
Glass Pane8
Skylight8

Controls

KeyAction
WASDMove
SpaceJump / Fly up
CtrlSprint
Left ClickBreak block / Attack animal
Right ClickPlace / Eat / Open door
Middle ClickEyedropper - copy block
FFly mode
F4Builder Camera
F12Screenshot
ICreative Inventory
U / YUndo / Redo
B / N / MFill / Line / Replace
C / VCopy / Paste blueprint
K / LSave / Load blueprint
[ / ]Set P1 / P2 selection

Project Structure

godot-minecraft/
  native/                   Rust GDExtension
    src/
      voxel_buffer.rs       16-bit block storage
      terrain_gen.rs        Noise terrain + biomes
      light_solver.rs       Flood-fill lighting
      mesh_builder.rs       Greedy mesh + shapes
  scripts/
    world.gd                World + weather + license
    chunk_manager.gd        Thread dispatch + queues
    player.gd               FPS controller + survival
    animal.gd               5 animal types with AI
    blueprint_manager.gd    Copy/paste/save/fill/line
    structure_spawner.gd    Villages + landmarks
    item_entity.gd          3D dropped items
  data/
    blocks.json             222 block definitions

Build Instructions

  1. Install Godot 4.6+ + Rust 1.96+
  2. Clone: git clone https://github.com/fxagro/lego.git
  3. Build DLL: cd native && cargo build --release
  4. Open Godot - Import - project.godot
  5. Press F5

License: Rp 199.000 - Buy now for activation key!