# mareashleypecker/gteternaltime--core--neoforge architecture

> Architecture diagram of the GitHub repository mareashleypecker/gteternaltime--core--neoforge, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mareashleypecker/gteternaltime--core--neoforge
- Repository: https://github.com/mareashleypecker/gteternaltime--core--neoforge

## Overview

GTEternalTime Core is a Minecraft/NeoForge addon for GregTech CEu, adding specialized machines and player-facing tools. Players use registered items or machine interfaces to configure and inspect structures, export structures and recipes, and work with time-flow storage; machine capabilities provide threaded processing, wireless energy, and modular-machine behavior. The map also preserves the multiblock preview, AE2, and Jade integration branches. Source excerpts establish only selected calls and registrations, so unsampled subsystem links are omitted rather than inferred.

Main entry points: [`src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt) (Item Registry), [`src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt`](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt) (Addon Registration), [`src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt`](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt) (Structure Tools), [`src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt`](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt) (Clock Storage)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Mod Runtime"]
  node_mod["Mod Bootstrap<br/>[GTETSCore.kt]"]
  node_addon["Addon Registration<br/>[ETGTAddon.kt]"]
  node_items["Item Registry<br/>[ETItems.kt]"]
  node_config["Mod Configuration<br/>[GtetConfig.kt]"]
end

subgraph group_machines["Machines &amp; Timeflow"]
  node_timeflow["Timeflow API<br/>[ETTimeFlow.kt]"]
  node_storage["Timeflow Storage"]
  node_clock["Clock Storage"]
  node_machineparts["Machine Hatches"]
  node_threading["Threaded Recipes"]
  node_wireless["Wireless Energy"]
  node_tower["Master Tower"]
end

subgraph group_tools["Player Tools"]
  node_terminal["Advanced Terminal"]
  node_structure["Structure Tools"]
  node_recipe["Recipe Editor"]
  node_timeclockitem["Time Clock Item<br/>[TimeClockData.kt]"]
end

subgraph group_client["Client Interfaces"]
  node_overlay["Structure Overlay"]
  node_preview["Multiblock Preview"]
  node_previewfit["Preview Camera Fit"]
  node_exportui["Structure Export UI"]
end

subgraph group_integrations["Integrations"]
  node_ae2["AE2 Integration<br/>[ETTagFilter.kt]"]
  node_jade["Jade Storage Display"]
end

node_player(("Player"))

node_mod -->|"loads proxies"| node_addon
node_addon -->|"registers"| node_machineparts
node_addon -->|"registers"| node_items
node_player -.->|"configures"| node_terminal
node_items -->|"attaches behavior"| node_terminal
node_items -->|"attaches behavior"| node_structure
node_items -->|"attaches behavior"| node_recipe
node_items -->|"registers"| node_timeclockitem
node_structure -->|"builds panel"| node_exportui
node_structure -->|"checks settings"| node_config
node_overlay -->|"reads selection"| node_structure
node_preview -->|"fits camera"| node_previewfit
node_timeclockitem -->|"stores through"| node_clock
node_clock -->|"implements"| node_storage
node_jade -->|"reads balances"| node_storage
node_wireless -->|"consults registry"| node_tower
node_threading -.->|"uses timeflow"| node_timeflow
node_addon -->|"registers capability"| node_timeflow
node_ae2 -.->|"supports parts"| node_machineparts

click node_mod "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/GTETSCore.kt"
click node_addon "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt"
click node_items "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt"
click node_config "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/config/GtetConfig.kt"
click node_timeflow "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/api/timeflow/ETTimeFlow.kt"
click node_storage "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/api/timeflow/ITimeFlowStorage.kt"
click node_clock "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt"
click node_machineparts "https://github.com/mareashleypecker/gteternaltime--core--neoforge/tree/main/src/main/kotlin/rain/fox/gtetcore/common/data/machine/hatch"
click node_threading "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/thread/ThreadedRecipeLogic.kt"
click node_wireless "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/part/WirelessEnergyHatchPartMachine.kt"
click node_tower "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/timeflow/MasterTowerMachine.kt"
click node_terminal "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/terminal/AdvancedTerminalBuilder.kt"
click node_structure "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt"
click node_recipe "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/recipe/RecipeCodeWriter.kt"
click node_timeclockitem "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockData.kt"
click node_overlay "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/StructureOverlayRenderer.kt"
click node_preview "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/MultiblockPreviewFullscreen.kt"
click node_previewfit "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/PreviewCameraFit.kt"
click node_exportui "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/StructureExportPanel.kt"
click node_ae2 "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/integration/ae2/ETTagFilter.kt"
click node_jade "https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/java/rain/fox/gtetcore/integration/jade/provider/ETTimeFlowStorageProvider.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_mod,node_addon,node_items,node_config toneBlue
class node_timeflow,node_storage,node_clock,node_machineparts,node_threading,node_wireless,node_tower toneAmber
class node_terminal,node_structure,node_recipe,node_timeclockitem toneMint
class node_overlay,node_preview,node_previewfit,node_exportui toneRose
class node_ae2,node_jade,node_player toneIndigo
```

## Components

### Mod Runtime

- [Mod Bootstrap](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/GTETSCore.kt): `src/main/kotlin/rain/fox/gtetcore/GTETSCore.kt`
- [Addon Registration](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt): `src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt`
- [Item Registry](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt): `src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`
- [Mod Configuration](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/config/GtetConfig.kt): `src/main/kotlin/rain/fox/gtetcore/config/GtetConfig.kt`

### Machines & Timeflow

- [Timeflow API](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/api/timeflow/ETTimeFlow.kt): `src/main/kotlin/rain/fox/gtetcore/api/timeflow/ETTimeFlow.kt`
- [Timeflow Storage](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/api/timeflow/ITimeFlowStorage.kt): `src/main/kotlin/rain/fox/gtetcore/api/timeflow/ITimeFlowStorage.kt`
- [Clock Storage](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt): `src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt`
- [Machine Hatches](https://github.com/mareashleypecker/gteternaltime--core--neoforge/tree/main/src/main/kotlin/rain/fox/gtetcore/common/data/machine/hatch): `src/main/kotlin/rain/fox/gtetcore/common/data/machine/hatch`
- [Threaded Recipes](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/thread/ThreadedRecipeLogic.kt): `src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/thread/ThreadedRecipeLogic.kt`
- [Wireless Energy](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/part/WirelessEnergyHatchPartMachine.kt): `src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/part/WirelessEnergyHatchPartMachine.kt`
- [Master Tower](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/timeflow/MasterTowerMachine.kt): `src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/timeflow/MasterTowerMachine.kt`

### Player Tools

- [Advanced Terminal](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/terminal/AdvancedTerminalBuilder.kt): `src/main/kotlin/rain/fox/gtetcore/common/item/terminal/AdvancedTerminalBuilder.kt`
- [Structure Tools](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt): `src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt`
- [Recipe Editor](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/recipe/RecipeCodeWriter.kt): `src/main/kotlin/rain/fox/gtetcore/common/item/recipe/RecipeCodeWriter.kt`
- [Time Clock Item](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockData.kt): `src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockData.kt`

### Client Interfaces

- [Structure Overlay](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/StructureOverlayRenderer.kt): `src/main/kotlin/rain/fox/gtetcore/client/StructureOverlayRenderer.kt`
- [Multiblock Preview](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/MultiblockPreviewFullscreen.kt): `src/main/kotlin/rain/fox/gtetcore/client/mui/MultiblockPreviewFullscreen.kt`
- [Preview Camera Fit](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/PreviewCameraFit.kt): `src/main/kotlin/rain/fox/gtetcore/client/mui/PreviewCameraFit.kt`
- [Structure Export UI](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/client/mui/StructureExportPanel.kt): `src/main/kotlin/rain/fox/gtetcore/client/mui/StructureExportPanel.kt`

### Integrations

- [AE2 Integration](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/kotlin/rain/fox/gtetcore/integration/ae2/ETTagFilter.kt): `src/main/kotlin/rain/fox/gtetcore/integration/ae2/ETTagFilter.kt`
- [Jade Storage Display](https://github.com/mareashleypecker/gteternaltime--core--neoforge/blob/main/src/main/java/rain/fox/gtetcore/integration/jade/provider/ETTimeFlowStorageProvider.java): `src/main/java/rain/fox/gtetcore/integration/jade/provider/ETTimeFlowStorageProvider.java`

### Other components

- **Player**

## Connections

- Mod Bootstrap → Addon Registration: loads proxies (evidence: `src/main/kotlin/rain/fox/gtetcore/GTETSCore.kt`)
- Addon Registration → Machine Hatches: registers (evidence: `src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt`)
- Addon Registration → Item Registry: registers (evidence: `src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt`)
- Player → Advanced Terminal: configures
- Item Registry → Advanced Terminal: attaches behavior (evidence: `src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`)
- Item Registry → Structure Tools: attaches behavior (evidence: `src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`)
- Item Registry → Recipe Editor: attaches behavior (evidence: `src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`)
- Item Registry → Time Clock Item: registers (evidence: `src/main/kotlin/rain/fox/gtetcore/registry/ETItems.kt`)
- Structure Tools → Structure Export UI: builds panel (evidence: `src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt`)
- Structure Tools → Mod Configuration: checks settings (evidence: `src/main/kotlin/rain/fox/gtetcore/common/item/tool/StructureWriteBehavior.kt`)
- Structure Overlay → Structure Tools: reads selection (evidence: `src/main/kotlin/rain/fox/gtetcore/client/StructureOverlayRenderer.kt`)
- Multiblock Preview → Preview Camera Fit: fits camera (evidence: `src/main/kotlin/rain/fox/gtetcore/client/mui/PreviewControls.kt`)
- Time Clock Item → Clock Storage: stores through (evidence: `src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt`)
- Clock Storage → Timeflow Storage: implements (evidence: `src/main/kotlin/rain/fox/gtetcore/common/item/timeflow/TimeClockStorage.kt`)
- Jade Storage Display → Timeflow Storage: reads balances (evidence: `src/main/java/rain/fox/gtetcore/integration/jade/provider/ETTimeFlowStorageProvider.java`)
- Wireless Energy → Master Tower: consults registry (evidence: `src/main/kotlin/rain/fox/gtetcore/common/machine/multiblock/part/WirelessEnergyHatchPartMachine.kt`)
- Threaded Recipes → Timeflow API: uses timeflow
- Addon Registration → Timeflow API: registers capability (evidence: `src/main/kotlin/rain/fox/gtetcore/ETGTAddon.kt`)
- AE2 Integration → Machine Hatches: supports parts
