# jamesgreen26/zeropointsystems architecture

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

- Interactive diagram: https://gitdiagram.com/jamesgreen26/zeropointsystems
- Repository: https://github.com/jamesgreen26/zeropointsystems

## Overview

Zero Point Systems is a Minecraft technology and automation mod. Players build electrical and gas infrastructure, operate production machines and reactors, and use data cables, radios, displays, and programmable controllers to automate systems. The graph groups those product capabilities and highlights the controller interaction path, where players configure keys or ride a controller and send input to its block entity. It also includes room-atmosphere and reactor simulation. Internal links are limited to relationships visible in the supplied excerpts or source index; other README-described capabilities are shown without guessed wiring.

Main entry points: [`src/main/java/g_mungus/zps/ZPSMod.java`](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/ZPSMod.java) (ZPS Mod), [`src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java`](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java) (Controller Interaction), [`src/main/java/g_mungus/zps/blockentity/ControllerBlockEntity.java`](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/blockentity/ControllerBlockEntity.java) (Controller State), [`src/main/java/g_mungus/zps/blockentity`](https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/blockentity) (Production Machines)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_electrical["Power and Control"]
  node_cable["Cable Networks<br/>[Channels.java]"]
  node_interaction["Controller Interaction"]
  node_controller["Controller State"]
  node_seat["Controller Seat"]
  node_keys["Key Input Packet"]
end

subgraph group_industry["Industry and Atmosphere"]
  node_machines["Production Machines"]
  node_gas["Gas Networks"]
  node_reactor["Reactor Simulation"]
  node_rooms["Room Atmosphere<br/>[RoomManager.java]"]
end

subgraph group_comms["Data and Communication"]
  node_data["Data and Logic"]
  node_script["Script Terminals"]
  node_radios["Radios and Displays"]
  node_tts["Speech Output"]
  node_voice["FreeTTS Voice"]
end

subgraph group_runtime["Mod Runtime"]
  node_mod["ZPS Mod<br/>[ZPSMod.java]"]
  node_blocks["Block Registry<br/>[ModBlocks.java]"]
end

node_player(("Player"))

node_player -->|"uses controller"| node_interaction
node_interaction -->|"checks state"| node_controller
node_interaction -->|"starts riding"| node_seat
node_keys -->|"sets keys"| node_controller
node_mod -->|"registers blocks"| node_blocks
node_mod -->|"registers capabilities"| node_machines
node_mod -->|"names voice directory"| node_voice
node_player -->|"builds infrastructure"| node_cable
node_player -->|"operates machines"| node_machines
node_player -->|"builds gas networks"| node_gas
node_player -->|"uses reactors"| node_reactor
node_player -->|"uses data systems"| node_data
node_player -->|"programs machines"| node_script
node_player -->|"uses communications"| node_radios
node_tts -->|"loads voice"| node_voice

click node_mod "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/ZPSMod.java"
click node_blocks "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/ModBlocks.java"
click node_cable "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/core/Channels.java"
click node_interaction "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java"
click node_controller "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/blockentity/ControllerBlockEntity.java"
click node_seat "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/entity/ControllerSeatEntity.java"
click node_keys "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/networking/ControllerKeysC2SPacket.java"
click node_machines "https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/blockentity"
click node_gas "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/gas/core/DuctTravelNetwork.java"
click node_reactor "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/reactor/ReactorManager.java"
click node_rooms "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/room/RoomManager.java"
click node_data "https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/light_pipe"
click node_script "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/blockentity/light_pipe/ScriptComputer.java"
click node_radios "https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/light_pipe"
click node_tts "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/client/tts/TtsSoundsManager.java"
click node_voice "https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.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_cable,node_interaction,node_controller,node_seat,node_keys toneBlue
class node_machines,node_gas,node_reactor,node_rooms toneAmber
class node_data,node_script,node_radios,node_tts,node_voice toneMint
class node_mod,node_blocks toneRose
class node_player toneIndigo
```

## Components

### Power and Control

- [Cable Networks](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/core/Channels.java): `src/main/java/g_mungus/zps/block/cableNetwork/core/Channels.java`
- [Controller Interaction](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java): `src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java`
- [Controller State](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/blockentity/ControllerBlockEntity.java): `src/main/java/g_mungus/zps/blockentity/ControllerBlockEntity.java`
- [Controller Seat](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/entity/ControllerSeatEntity.java): `src/main/java/g_mungus/zps/entity/ControllerSeatEntity.java`
- [Key Input Packet](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/networking/ControllerKeysC2SPacket.java): `src/main/java/g_mungus/zps/networking/ControllerKeysC2SPacket.java`

### Industry and Atmosphere

- [Production Machines](https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/blockentity): `src/main/java/g_mungus/zps/blockentity`
- [Gas Networks](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/gas/core/DuctTravelNetwork.java): `src/main/java/g_mungus/zps/block/gas/core/DuctTravelNetwork.java`
- [Reactor Simulation](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/reactor/ReactorManager.java): `src/main/java/g_mungus/zps/reactor/ReactorManager.java`
- [Room Atmosphere](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/room/RoomManager.java): `src/main/java/g_mungus/zps/room/RoomManager.java`

### Data and Communication

- [Data and Logic](https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/light_pipe): `src/main/java/g_mungus/zps/block/cableNetwork/light_pipe`
- [Script Terminals](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/blockentity/light_pipe/ScriptComputer.java): `src/main/java/g_mungus/zps/blockentity/light_pipe/ScriptComputer.java`
- [Radios and Displays](https://github.com/jamesgreen26/zeropointsystems/tree/1.21.1/src/main/java/g_mungus/zps/block/cableNetwork/light_pipe): `src/main/java/g_mungus/zps/block/cableNetwork/light_pipe`
- [Speech Output](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/client/tts/TtsSoundsManager.java): `src/main/java/g_mungus/zps/client/tts/TtsSoundsManager.java`
- [FreeTTS Voice](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java): `src/main/java/com/sun/speech/freetts/en/us/cmu_us_kal/KevinVoiceDirectory.java`

### Mod Runtime

- [ZPS Mod](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/ZPSMod.java): `src/main/java/g_mungus/zps/ZPSMod.java`
- [Block Registry](https://github.com/jamesgreen26/zeropointsystems/blob/1.21.1/src/main/java/g_mungus/zps/block/ModBlocks.java): `src/main/java/g_mungus/zps/block/ModBlocks.java`

### Other components

- **Player**

## Connections

- Player → Controller Interaction: uses controller (evidence: `src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java`)
- Controller Interaction → Controller State: checks state (evidence: `src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java`)
- Controller Interaction → Controller Seat: starts riding (evidence: `src/main/java/g_mungus/zps/block/cableNetwork/ControllerInteraction.java`)
- Key Input Packet → Controller State: sets keys (evidence: `src/main/java/g_mungus/zps/networking/ControllerKeysC2SPacket.java`)
- ZPS Mod → Block Registry: registers blocks (evidence: `src/main/java/g_mungus/zps/ZPSMod.java`)
- ZPS Mod → Production Machines: registers capabilities (evidence: `src/main/java/g_mungus/zps/ZPSMod.java`)
- ZPS Mod → FreeTTS Voice: names voice directory (evidence: `src/main/java/g_mungus/zps/client/tts/TtsSoundsManager.java`)
- Player → Cable Networks: builds infrastructure (evidence: `README.md`)
- Player → Production Machines: operates machines (evidence: `README.md`)
- Player → Gas Networks: builds gas networks (evidence: `README.md`)
- Player → Reactor Simulation: uses reactors (evidence: `README.md`)
- Player → Data and Logic: uses data systems (evidence: `README.md`)
- Player → Script Terminals: programs machines (evidence: `README.md`)
- Player → Radios and Displays: uses communications (evidence: `README.md`)
- Speech Output → FreeTTS Voice: loads voice (evidence: `src/main/java/g_mungus/zps/client/tts/TtsSoundsManager.java`)
