How voron2010/minecraft-1.7.3-cpp-port works
McBetaCpp is a native C++ port of Minecraft Beta 1.7.3. The main workflow is player input through the game client and game mode into world simulation, followed by rendering, audio, and—when multiplayer is selected—network synchronization. The graph also preserves documented Creative mode, SPC commands, chunk persistence, and texture packs. Relationships are limited to declarations, source-index references, and README statements shown here; unsampled subsystem links are omitted rather than inferred.
Main entry points: Minecraft.h Game client · Level.h World level · ParticleEngine.cpp Particle engine · LevelChunk.h World chunks
Components 23
Client experience
- Game client
src/client/Minecraft.h - Input handlers
src/client/MouseHandler.cpp - Game screens
src/client/gui/Screen.cpp - Game modes
src/client/gamemode/GameMode.cpp - SPC commands
src/client/spc/SPCCommand.cpp - World renderer
src/client/renderer/LevelRenderer.cpp - Particle engine
src/client/particle/ParticleEngine.cpp - Sound engine
src/client/sound/SoundEngine.cpp
World simulation
- World level
src/world/level/Level.h - World chunks
src/world/level/chunk/LevelChunk.h - World generation
src/world/level/levelgen/RandomLevelSource.cpp - Entities and mobs
src/world/entity/Entity.h - Blocks and tiles
src/world/level/tile/Tile.cpp
Networking
- Client packet handler
src/network/NetClientHandler.cpp - Network transport
src/network/NetworkManager.cpp
Resources and persistence
- Texture packs
src/client/skins/TexturePackRepository.cpp - Chunk storage
src/world/level/chunk/storage/McRegionChunkStorage.cpp - Legacy chunk storage
src/world/level/chunk/storage/OldChunkStorage.cpp - NBT tags
src/nbt/CompoundTag.cpp
Native platform
- Application entry
src/pc/Main.cpp - SDL and OpenGL
src/pc/lwjgl/GLContext.cpp
Other components
- Player
- Beta game server
Connections 25
- Player → Input handlers: provides input
- Application entry → Game client: starts
src/pc/Main.cpp - Game client → Input handlers: owns
src/client/Minecraft.h - Game client → Game screens: owns
src/client/Minecraft.h - Game client → Game modes: owns
src/client/Minecraft.h - Game client → World renderer: owns
src/client/Minecraft.h - Game client → Particle engine: owns
src/client/Minecraft.h - Game client → Sound engine: owns
src/client/Minecraft.h - Game client → Texture packs: owns
src/client/Minecraft.h - Game client → World level: holds
src/client/Minecraft.h - Game modes → World level: alters blocks
- Player → SPC commands: runs commands
- World level → World chunks: uses chunks
src/world/level/Level.h - World level → World generation: generates terrain
- World level → Entities and mobs: simulates entities
src/world/level/Level.h - World level → Blocks and tiles: reads tiles
src/world/level/Level.h - Particle engine → World level: reads world
src/client/particle/ParticleEngine.cpp - Particle engine → Blocks and tiles: creates debris
src/client/particle/ParticleEngine.cpp - World chunks → Legacy chunk storage: serialized as
src/world/level/chunk/storage/OldChunkStorage.cpp - Legacy chunk storage → NBT tags: reads and writes
src/world/level/chunk/storage/OldChunkStorage.cpp - Chunk storage → World chunks: loads and saves
src/world/level/chunk/storage/McRegionChunkStorage.cpp - Game client → Client packet handler: connects via
src/network/NetClientHandler.cpp - Client packet handler → Network transport: uses transport
src/network/NetClientHandler.cpp - Network transport → Beta game server: exchanges packets
- World renderer → SDL and OpenGL: renders with