Requirements
| Requirement | Version | Notes |
|---|---|---|
| Java | 21 | Oracle JDK 21 recommended |
| Minecraft | 1.21.1 | Exact version required |
| NeoForge | 21.1.x | Tested against 21.1.209 |
| JEI | 19.25.0.322 (1.21.1) | Optional, strongly recommended |
Player installation (client)
Install Java 21
Minecraft 1.21.1 bundles Java 21. If you launch through the official Minecraft launcher, no separate Java installation is needed. For manual setups, install Oracle JDK 21.
Install NeoForge
Download the NeoForge installer for version Select Install client and point the installer at your Minecraft directory. The installer creates a NeoForge launch profile in the Minecraft launcher.
21.1.x and run it:Place the JAR in the mods folder
Copy the JAR into your Create the
mods folder.mods folder if it does not exist.(Optional) Install JEI
Download the JEI JAR for NeoForge 1.21.1 (version
19.25.0.322) and place it in the same mods folder.Server installation (dedicated server)
(Optional) Install JEI on the server
JEI is a client-side mod but can be present on the server. Place the JEI JAR in the server’s
mods folder if you want server-side recipe integration.Start the server
Start the server with the
--nogui flag to run without a graphical interface:The
--nogui flag is the standard way to run a NeoForge dedicated server in a headless environment. Without it, the server attempts to open a Swing GUI window.Optional dependencies
JEI (Just Enough Items)
JEI is not required but is strongly recommended. It provides in-game recipe browsing for all General Mechanics machines and processes.- Version:
19.25.0.322for Minecraft 1.21.1 NeoForge - Without JEI, recipes are still functional but not browsable in-game.
Verification
After installation, confirm the mod is active:- In-game: open Mods from the main menu and locate General Mechanics (
gm, version1.0.0). - In a world: open your inventory and check for General Mechanics creative tabs.
Troubleshooting
The mod does not appear in the mod list
The mod does not appear in the mod list
- Confirm the JAR is in the correct
modsfolder for the NeoForge profile you are launching. - Confirm you selected the NeoForge 1.21.1 profile in the launcher, not the vanilla profile.
- Check the crash report or
latest.login thelogsfolder for load errors.
Wrong NeoForge version
Wrong NeoForge version
General Mechanics targets NeoForge
21.1.x. If you have a different major version installed (for example 21.0.x or 21.2.x), the mod will fail to load.Uninstall the current NeoForge version and install 21.1.209 or another 21.1.x release.Java version mismatch
Java version mismatch
If you see an
UnsupportedClassVersionError or similar error on startup, the JVM running Minecraft is older than Java 21.- For the official launcher: ensure you are using a recent Minecraft launcher that bundles Java 21.
- For manual setups: install Oracle JDK 21 and point your launch script at it.
Server crashes immediately on start
Server crashes immediately on start
- Confirm
--noguiis present in your startup command if running headless. - Check
logs/latest.logfor the root cause. NeoForge logs mod loading errors with full stack traces. - Verify all required mods (NeoForge itself) are correctly installed and no optional mods have version conflicts.