How wangtingzheng/mcp940 works
This repository is a Minecraft 1.12 source tree, with a Python MCP runtime alongside the game code. The documented user path is launching the client through Start.java; the game then depends on native LWJGL libraries. The graph highlights client presentation, shared world/entity behavior, server gameplay, and persistence/networking. Relationships are limited to startup documentation and references or calls visible in the supplied source index and excerpts; many broader gameplay connections are not established by the sampled evidence.
Main entry points: DragonFightManager.java Dragon Fight · Entity.java Entity Behavior · Block.java Blocks · Start.java Game Launcher
Components 21
Launch
- Game Launcher
src/minecraft/Start.java
Client
- Minecraft Client
src/minecraft/net/minecraft/client/Minecraft.java - Client Interface
src/minecraft/net/minecraft/client/gui - Graphics State
src/minecraft/net/minecraft/client/renderer/GlStateManager.java
World Simulation
- Blocks
src/minecraft/net/minecraft/block/Block.java - Block Catalog
src/minecraft/net/minecraft/init/Blocks.java - Entity Behavior
src/minecraft/net/minecraft/entity/Entity.java - Player Entities
src/minecraft/net/minecraft/entity/player - World Simulation
src/minecraft/net/minecraft/world/World.java
Server Gameplay
- Advancements
src/minecraft/net/minecraft/advancements - Dragon Fight
src/minecraft/net/minecraft/world/end/DragonFightManager.java - End Crystals
src/minecraft/net/minecraft/entity/item/EntityEnderCrystal.java - Server World
src/minecraft/net/minecraft/world/WorldServer.java
State and Networking
- Map Storage
src/minecraft/net/minecraft/world/storage/MapStorage.java - NBT Data
src/minecraft/net/minecraft/nbt/NBTTagCompound.java - Chunk Storage
src/minecraft/net/minecraft/world/chunk/storage/ExtendedBlockStorage.java - Network Manager
src/minecraft/net/minecraft/network/NetworkManager.java - HTTP Connection
src/minecraft/net/minecraft/src/HttpPipelineConnection.java - HTTP Pipeline
src/minecraft/net/minecraft/src/HttpPipeline.java
Other components
- Player
- LWJGL Libraries
Connections 13
- Player → Game Launcher: launches
README.md - Game Launcher → Minecraft Client: starts client
README.md - Minecraft Client → LWJGL Libraries: requires libraries
README.md - Block Catalog → Blocks: registers blocks
src/minecraft/net/minecraft/init/Blocks.java - Entity Behavior → Blocks: checks collisions
src/minecraft/net/minecraft/entity/Entity.java - Entity Behavior → World Simulation: uses world
- Player Entities → World Simulation: interacts with
- End Crystals → Dragon Fight: notifies destruction
src/minecraft/net/minecraft/entity/item/EntityEnderCrystal.java - Dragon Fight → Advancements: references triggers
src/minecraft/net/minecraft/world/end/DragonFightManager.java - Dragon Fight → Entity Behavior: tracks entities
src/minecraft/net/minecraft/world/end/DragonFightManager.java - Chunk Storage → Blocks: stores block states
src/minecraft/net/minecraft/world/chunk/storage/ExtendedBlockStorage.java - Map Storage → NBT Data: serializes data
src/minecraft/net/minecraft/world/storage/MapStorage.java - HTTP Connection → HTTP Pipeline: dispatches requests
src/minecraft/net/minecraft/src/HttpPipelineConnection.java