How hanijanaty2006/minecraft-decompiled-0.8-alpha works
This is an early voxel sandbox game, with a client-side loop for player movement, world interaction, and rendering, plus a separate socket-based server/client subsystem. The graph follows the documented source references and excerpted calls; several gameplay and server details are represented at subsystem level because their implementations were not excerpted.
Main entry points: Minecraft.java Game Loop · Level.java World State · LevelRenderer.java World Renderer · ParticleEngine.java Particle Effects
Components 26
Game Runtime
- Player Controls
com/mojang/minecraft/Player.java - Entity Physics
com/mojang/minecraft/Entity.java - Zombie Actors
com/mojang/minecraft/character/Zombie.java - Zombie Model
com/mojang/minecraft/character/ZombieModel.java - Game Loop
com/mojang/minecraft/Minecraft.java - Applet Launcher
com/mojang/minecraft/MinecraftApplet.java
World Simulation
- World State
com/mojang/minecraft/level/Level.java - World Generation
com/mojang/minecraft/level/LevelGen.java - Terrain Noise
com/mojang/minecraft/level/NoiseMap.java - Voxel Tiles
com/mojang/minecraft/level/tile/Tile.java - Collision Bounds
com/mojang/minecraft/phys/AABB.java - Hit Result
com/mojang/minecraft/HitResult.java
Rendering
- World Renderer
com/mojang/minecraft/level/LevelRenderer.java - Chunk Meshes
com/mojang/minecraft/level/Chunk.java - View Culling
com/mojang/minecraft/renderer/Frustum.java - Geometry Batching
com/mojang/minecraft/renderer/Tesselator.java - Texture Loading
com/mojang/minecraft/renderer/Textures.java - Particle Effects
com/mojang/minecraft/particle/ParticleEngine.java - Particle Motion
com/mojang/minecraft/particle/Particle.java - Font Rendering
com/mojang/minecraft/gui/Font.java
Networking
- Game Server
com/mojang/minecraft/server/MinecraftServer.java - Server Clients
com/mojang/minecraft/server/Client.java - Socket Listener
com/mojang/minecraft/comm/SocketServer.java - Socket Connection
com/mojang/minecraft/comm/SocketConnection.java - Connection Listener
com/mojang/minecraft/comm/ConnectionListener.java
Other components
- Player
Connections 38
- Player → Game Loop: plays
- Applet Launcher → Game Loop: launches
com/mojang/minecraft/MinecraftApplet.java - Game Loop → Player Controls: ticks
com/mojang/minecraft/Minecraft.java - Game Loop → Entity Physics: ticks
com/mojang/minecraft/Minecraft.java - Player Controls → Entity Physics: inherits
com/mojang/minecraft/Player.java - Entity Physics → World State: reads collisions
com/mojang/minecraft/Entity.java - Entity Physics → Collision Bounds: clips movement
com/mojang/minecraft/Entity.java - Game Loop → World State: uses world
com/mojang/minecraft/Minecraft.java - World State → World Generation: generates map
com/mojang/minecraft/level/Level.java - World Generation → Terrain Noise: uses noise
com/mojang/minecraft/level/LevelGen.java - World State → Voxel Tiles: reads tile types
com/mojang/minecraft/level/Level.java - World State → Collision Bounds: builds bounds
com/mojang/minecraft/level/Level.java - World State → World Renderer: notifies changes
com/mojang/minecraft/level/LevelRenderer.java - Voxel Tiles → Particle Effects: spawns particles
com/mojang/minecraft/level/tile/Tile.java - Particle Effects → Particle Motion: ticks and renders
com/mojang/minecraft/particle/ParticleEngine.java - Game Loop → Particle Effects: renders effects
com/mojang/minecraft/Minecraft.java - Game Loop → World Renderer: renders world
com/mojang/minecraft/Minecraft.java - World Renderer → Chunk Meshes: rebuilds chunks
com/mojang/minecraft/level/LevelRenderer.java - Chunk Meshes → World State: reads world
com/mojang/minecraft/level/Chunk.java - Chunk Meshes → Voxel Tiles: renders tiles
com/mojang/minecraft/level/Chunk.java - World Renderer → View Culling: culls geometry
com/mojang/minecraft/level/LevelRenderer.java - World Renderer → Geometry Batching: emits geometry
com/mojang/minecraft/level/LevelRenderer.java - Voxel Tiles → Geometry Batching: emits faces
com/mojang/minecraft/level/tile/Tile.java - Particle Effects → Geometry Batching: emits geometry
com/mojang/minecraft/particle/ParticleEngine.java - Particle Effects → Texture Loading: loads atlas
com/mojang/minecraft/particle/ParticleEngine.java - Game Loop → Texture Loading: loads textures
com/mojang/minecraft/Minecraft.java - Game Loop → Font Rendering: renders interface
com/mojang/minecraft/Minecraft.java - Game Loop → Hit Result: handles selection
com/mojang/minecraft/Minecraft.java - Game Loop → Zombie Actors: updates actors
com/mojang/minecraft/Minecraft.java - Zombie Actors → Entity Physics: extends physics
com/mojang/minecraft/character/Zombie.java - Zombie Actors → Zombie Model: uses model
com/mojang/minecraft/character/Zombie.java - Zombie Model → Geometry Batching: builds geometry
- Game Server → Socket Listener: opens listener
com/mojang/minecraft/server/MinecraftServer.java - Game Server → Server Clients: manages clients
com/mojang/minecraft/server/MinecraftServer.java - Socket Listener → Socket Connection: accepts sockets
com/mojang/minecraft/comm/SocketServer.java - Socket Listener → World State: uses world
com/mojang/minecraft/comm/SocketServer.java - Server Clients → Socket Connection: uses connection
com/mojang/minecraft/server/Client.java - Socket Connection → Connection Listener: dispatches commands
com/mojang/minecraft/comm/SocketConnection.java