Skip to content

Codebase Structure

MadaHaz edited this page Aug 30, 2025 · 2 revisions

The codebase structure is pretty simple, though I imagine that the base directory will become pretty crowded as more versions are supported, but that's an issue for another time.

The current structure looks like this: (as of 31/08/2025)

.
├── .gitignore
├── README.md
├── Version 1.7/
│   └── SleepingServerStopperMod-Forge-1.7.10
├── Version 1.12/
│   └── SleepingServerStopperMod-Forge-1.12.2
├── Version 1.16/
│   └── SleepingServerStopperMod-Forge-1.16.5
├── Version 1.18/
│   └── SleepingServerStopperMod-Forge-1.18.2
├── Version 1.19/
│   └── SleepingServerStopperMod-Forge-1.19.X
└── Version 1.20/
    └── SleepingServerStopperMod-Forge-1.20.X

The base directory holds a folder for the major version being supported, then inside it is a folder for the specific minor version being supported. Inside the minor version folder is the actual code for the mod, there's a bunch in there so I won't be showing that within the tree.

To simplify it, the file structure is:

.
├── .gitignore
├── README.md
└── Major Version/
    └── Minor Version/
        └── Mod Files

Now, hopefully you know how to structure the new version you plan on supporting.

Clone this wiki locally