How fedha99/offrizon works
Horizon is a native Rust reimplementation of Minecraft: Java Edition, with a launcher-led install and play workflow. The README documents launcher preparation from a player-owned Minecraft install, gameplay and multiplayer, packs and mods, dedicated servers, and agent control. The graph preserves those product branches; source-level links are limited to relationships visible in the supplied excerpts or SOURCE INDEX, so some runtime wiring is left unspecified.
Main entry points: entry.rs Game Client · main.rs Launcher · minecarts.rs Gameplay Simulation · commands.rs Agent Commands
Components 21
Launch and Preparation
- Launcher
launcher/src/main.rs - Game Preparation
crates/horizon-prepare/src/main.rs - Pack Import
crates/horizon-port-pack/src/pipeline.rs
Game Runtime
- Game Client
crates/horizon-client/src/entry.rs - Gameplay Simulation
crates/horizon-client/src/game/minecarts.rs - World Generation
crates/horizon-world/src/worldgen/router.rs - World Saves
crates/horizon-client/src/save.rs - Command Storage
crates/horizon-client/src/command_storage.rs
Presentation and Packs
- Graphics Renderer
crates/horizon-client-render/src/graphics.rs - Game Interface
crates/horizon-client-render/src/ui.rs - Sound Engine
crates/horizon-client-render/src/audio.rs - Chat
crates/horizon-client-render/src/chat.rs - Resource and Shader Packs
crates/horizon-client-render/src/packs.rs
Multiplayer and Servers
- Protocol Adapters
crates/horizon-protocol/src/adapter/client_session.rs - Dedicated Server
crates/horizon-server/src/engine.rs - Server Management
crates/horizon-server/src/config.rs
Mods and Agents
- Mod Support
crates/horizon-mods/src/index.rs - Mod Tooling
crates/cargo-horizon-mod/src/main.rs - Agent Commands
crates/horizon-client/src/bin/horizon-ctl/commands.rs - MCP Interface
crates/horizon-client/src/bin/horizon-ctl/mcp.rs
Other components
- Player
Connections 22
- Player → Launcher: launches
README.md - Launcher → Game Preparation: prepares game
README.md - Launcher → Game Client: starts client
README.md - Launcher → Dedicated Server: manages server
README.md - Launcher → Pack Import: imports modpacks
README.md - Game Client → Gameplay Simulation: runs simulation
- Game Client → Graphics Renderer: renders game
- Game Client → Game Interface: displays interface
- Game Client → Sound Engine: plays sounds
- Game Client → Chat: displays chat
- Gameplay Simulation → World Generation: uses world generation
- Gameplay Simulation → World Saves: persists worlds
- Command Storage → World Saves: reads and writes
crates/horizon-client/src/command_storage.rs - Game Client → Protocol Adapters: connects via
- Dedicated Server → Server Management: uses configuration
crates/horizon-server/src/engine.rs - Protocol Adapters → Dedicated Server: adapts connections
- Launcher → Mod Support: browses registry
README.md - Mod Tooling → Mod Support: checks registry
crates/cargo-horizon-mod/src/main.rs - Player → Agent Commands: issues commands
README.md - Agent Commands → MCP Interface: serves over MCP
README.md - Agent Commands → Game Client: acts as player
README.md - Launcher → Resource and Shader Packs: installs packs
README.md