# m1nquan/m1cheatmine architecture

> Architecture diagram of the GitHub repository m1nquan/m1cheatmine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/m1nquan/m1cheatmine
- Repository: https://github.com/m1nquan/m1cheatmine

## Overview

M1CheatMine is a Minecraft Forge client mod whose central workflow is client events and hotkeys → module management and feature toggles → in-game actions or overlays. The AeroGlass GUI configures modules and settings; enabled modules run on client ticks, while HUD and world-rendering features draw through separate hooks. The map preserves the documented combat, movement, miscellaneous, HUD, and X-Ray capabilities. Several feature sources were not sampled, so their internal calls are omitted; subsystem paths identify their existing directories.

Main entry points: [`main/java/com/m1cheatmine/module/ModuleManager.java`](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/ModuleManager.java) (Module registry), [`main/java/com/m1cheatmine/M1CheatMine.java`](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/M1CheatMine.java) (Client event entry), [`main/java/com/m1cheatmine/ui/ClickGuiScreen.java`](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/ui/ClickGuiScreen.java) (AeroGlass GUI), [`main/java/com/m1cheatmine/module/Module.java`](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/Module.java) (Module lifecycle)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Client runtime"]
  node_entry["Client event entry<br/>[M1CheatMine.java]"]
  node_blockmixin["Block render hook<br/>[BlockMixin.java]"]
  node_renderhook["World render hooks"]
end

subgraph group_framework["Module framework"]
  node_manager["Module registry<br/>[ModuleManager.java]"]
  node_modulebase["Module lifecycle<br/>[Module.java]"]
  node_settings["Module settings"]
end

subgraph group_features["Gameplay features"]
  node_combat["Combat modules"]
  node_movement["Movement modules"]
  node_playerworld["Player and world"]
  node_misc["Misc modules"]
  node_renderfeatures["Render modules"]
  node_xray["X-Ray module<br/>[XrayModule.java]"]
end

subgraph group_presentation["Interface and rendering"]
  node_gui["AeroGlass GUI"]
  node_hudbase["HUD module base<br/>[HudModule.java]"]
  node_hudwidgets["HUD widgets"]
  node_renderutils["Drawing utilities<br/>[RenderUtils.java]"]
end

node_player(("Minecraft player"))

node_player -->|"uses client"| node_entry
node_entry -->|"initializes"| node_manager
node_entry -->|"opens"| node_gui
node_entry -->|"dispatches ticks"| node_modulebase
node_entry -->|"renders enabled"| node_hudbase
node_manager -->|"registers"| node_combat
node_manager -->|"registers"| node_movement
node_manager -->|"registers"| node_playerworld
node_manager -->|"registers"| node_misc
node_manager -->|"registers"| node_renderfeatures
node_manager -->|"registers"| node_hudwidgets
node_manager -->|"stores modules"| node_modulebase
node_modulebase -->|"holds settings"| node_settings
node_gui -->|"lists modules"| node_manager
node_gui -->|"edits settings"| node_settings
node_gui -->|"draws with"| node_renderutils
node_hudbase -->|"implemented by"| node_hudwidgets
node_hudwidgets -->|"draws with"| node_renderutils
node_renderhook -->|"dispatches rendering"| node_renderfeatures
node_xray -.->|"filters block faces"| node_blockmixin
node_manager -->|"registers"| node_xray

click node_entry "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/M1CheatMine.java"
click node_manager "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/ModuleManager.java"
click node_modulebase "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/Module.java"
click node_settings "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/setting"
click node_combat "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/combat"
click node_movement "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/movement"
click node_playerworld "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/player"
click node_misc "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/misc"
click node_renderfeatures "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/render"
click node_xray "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/impl/render/XrayModule.java"
click node_blockmixin "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/mixin/BlockMixin.java"
click node_renderhook "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/mixin/LevelRendererMixin.java"
click node_gui "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/ui/ClickGuiScreen.java"
click node_hudbase "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/HudModule.java"
click node_hudwidgets "https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/hud"
click node_renderutils "https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/util/RenderUtils.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_entry,node_blockmixin,node_renderhook toneBlue
class node_manager,node_modulebase,node_settings toneAmber
class node_combat,node_movement,node_playerworld,node_misc,node_renderfeatures,node_xray toneMint
class node_gui,node_hudbase,node_hudwidgets,node_renderutils toneRose
class node_player toneIndigo
```

## Components

### Client runtime

- [Client event entry](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/M1CheatMine.java): `main/java/com/m1cheatmine/M1CheatMine.java`
- [Block render hook](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/mixin/BlockMixin.java): `main/java/com/m1cheatmine/mixin/BlockMixin.java`
- [World render hooks](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/mixin/LevelRendererMixin.java): `main/java/com/m1cheatmine/mixin/LevelRendererMixin.java`

### Module framework

- [Module registry](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/ModuleManager.java): `main/java/com/m1cheatmine/module/ModuleManager.java`
- [Module lifecycle](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/Module.java): `main/java/com/m1cheatmine/module/Module.java`
- [Module settings](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/setting): `main/java/com/m1cheatmine/module/setting`

### Gameplay features

- [Combat modules](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/combat): `main/java/com/m1cheatmine/module/impl/combat`
- [Movement modules](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/movement): `main/java/com/m1cheatmine/module/impl/movement`
- [Player and world](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/player): `main/java/com/m1cheatmine/module/impl/player`
- [Misc modules](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/misc): `main/java/com/m1cheatmine/module/impl/misc`
- [Render modules](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/render): `main/java/com/m1cheatmine/module/impl/render`
- [X-Ray module](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/impl/render/XrayModule.java): `main/java/com/m1cheatmine/module/impl/render/XrayModule.java`

### Interface and rendering

- [AeroGlass GUI](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/ui/ClickGuiScreen.java): `main/java/com/m1cheatmine/ui/ClickGuiScreen.java`
- [HUD module base](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/module/HudModule.java): `main/java/com/m1cheatmine/module/HudModule.java`
- [HUD widgets](https://github.com/m1nquan/m1cheatmine/tree/main/main/java/com/m1cheatmine/module/impl/hud): `main/java/com/m1cheatmine/module/impl/hud`
- [Drawing utilities](https://github.com/m1nquan/m1cheatmine/blob/main/main/java/com/m1cheatmine/util/RenderUtils.java): `main/java/com/m1cheatmine/util/RenderUtils.java`

### Other components

- **Minecraft player**

## Connections

- Minecraft player → Client event entry: uses client
- Client event entry → Module registry: initializes (evidence: `main/java/com/m1cheatmine/M1CheatMine.java`)
- Client event entry → AeroGlass GUI: opens (evidence: `main/java/com/m1cheatmine/M1CheatMine.java`)
- Client event entry → Module lifecycle: dispatches ticks (evidence: `main/java/com/m1cheatmine/M1CheatMine.java`)
- Client event entry → HUD module base: renders enabled (evidence: `main/java/com/m1cheatmine/M1CheatMine.java`)
- Module registry → Combat modules: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → Movement modules: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → Player and world: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → Misc modules: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → Render modules: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → HUD widgets: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module registry → Module lifecycle: stores modules (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
- Module lifecycle → Module settings: holds settings (evidence: `main/java/com/m1cheatmine/module/Module.java`)
- AeroGlass GUI → Module registry: lists modules (evidence: `main/java/com/m1cheatmine/ui/ClickGuiScreen.java`)
- AeroGlass GUI → Module settings: edits settings (evidence: `main/java/com/m1cheatmine/ui/ClickGuiScreen.java`)
- AeroGlass GUI → Drawing utilities: draws with (evidence: `main/java/com/m1cheatmine/ui/ClickGuiScreen.java`)
- HUD module base → HUD widgets: implemented by (evidence: `main/java/com/m1cheatmine/module/HudModule.java`)
- HUD widgets → Drawing utilities: draws with (evidence: `main/java/com/m1cheatmine/module/impl/hud/ArrayListModule.java`)
- World render hooks → Render modules: dispatches rendering (evidence: `main/java/com/m1cheatmine/mixin/LevelRendererMixin.java`)
- X-Ray module → Block render hook: filters block faces
- Module registry → X-Ray module: registers (evidence: `main/java/com/m1cheatmine/module/ModuleManager.java`)
