How marcelektro/mcp-919 works
This repository is a Minecraft 1.8.9 MCP decompilation, accompanied by Python runtime utilities for locating, copying, and starting a Minecraft client. The Java source represents the game itself: client interaction, player/entity behavior, blocks and items, and world state. The sampled Python files show client-copy and launch relationships; the README identifies the Java tree as a decompiled project, but does not document a complete decompile-to-run pipeline. Several Java subsystems are represented from the tree and SOURCE INDEX rather than individually inspected.
Main entry points: PlayerControllerMP.java Player controller · CraftingManager.java Crafting recipes · clientCopy.py Client copy · Block.java Block behavior
Components 23
Runtime utilities
- Client copy
runtime/clientCopy.py - Minecraft discovery
runtime/MinecraftDiscovery.py - Runtime commands
runtime/commands.py - Client launcher
runtime/startclient.py
Client and networking
- Minecraft client
src/minecraft/net/minecraft/client/Minecraft.java - Player controller
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Network manager
src/minecraft/net/minecraft/network/NetworkManager.java - Broadcast controller
src/minecraft/net/minecraft/client/stream/BroadcastController.java
Gameplay domain
- Entity behavior
src/minecraft/net/minecraft/entity/Entity.java - Player behavior
src/minecraft/net/minecraft/entity/player/EntityPlayer.java - Block behavior
src/minecraft/net/minecraft/block/Block.java - Block materials
src/minecraft/net/minecraft/block/material/Material.java - Block state model
src/minecraft/net/minecraft/block/state/BlockState.java - Block registry
src/minecraft/net/minecraft/init/Blocks.java - Item model
src/minecraft/net/minecraft/item/Item.java - Item stacks
src/minecraft/net/minecraft/item/ItemStack.java - Crafting recipes
src/minecraft/net/minecraft/item/crafting/CraftingManager.java
World and storage
- World simulation
src/minecraft/net/minecraft/world/World.java - Block coordinates
src/minecraft/net/minecraft/util/BlockPos.java - Chunk block storage
src/minecraft/net/minecraft/world/chunk/storage/ExtendedBlockStorage.java - Saved map data
src/minecraft/net/minecraft/world/storage/MapStorage.java - NBT data
src/minecraft/net/minecraft/nbt/NBTTagCompound.java
Other components
- Player or operator
Connections 20
- Player or operator → Client copy: requests copy
- Client copy → Minecraft discovery: discovers install
runtime/clientCopy.py - Client copy → Runtime commands: uses commands
runtime/clientCopy.py - Client launcher → Runtime commands: uses commands
runtime/startclient.py - Player controller → Minecraft client: uses client state
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Player controller → Block behavior: reads blocks
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Player controller → Block materials: checks material
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Player controller → Block state model: reads block state
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Player controller → Player behavior: acts for player
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Player controller → Item stacks: uses item stacks
src/minecraft/net/minecraft/client/multiplayer/PlayerControllerMP.java - Crafting recipes → Block behavior: uses blocks
src/minecraft/net/minecraft/item/crafting/CraftingManager.java - Crafting recipes → Block registry: uses block catalog
src/minecraft/net/minecraft/item/crafting/CraftingManager.java - Crafting recipes → Item model: uses items
src/minecraft/net/minecraft/item/crafting/CraftingManager.java - Crafting recipes → Item stacks: produces stacks
src/minecraft/net/minecraft/item/crafting/CraftingManager.java - Chunk block storage → Block behavior: stores block states
src/minecraft/net/minecraft/world/chunk/storage/ExtendedBlockStorage.java - Chunk block storage → Block state model: stores states
src/minecraft/net/minecraft/world/chunk/storage/ExtendedBlockStorage.java - Saved map data → NBT data: loads and saves
src/minecraft/net/minecraft/world/storage/MapStorage.java - Saved map data → World simulation: world saved data
src/minecraft/net/minecraft/world/World.java - Minecraft client → Broadcast controller: initializes stream
src/minecraft/net/minecraft/client/Minecraft.java - Player or operator → Player controller: plays through