itzg / itzg/docker-minecraft-server
Forge Version is always for MC 12.2 when using Catserver
- Dominant language
- Shell
- Stars
- 14.3k
- Forks
- 1.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 31
Description
### Describe the problem
I want to run a 1.16.5 catserver MC server.
I changed the MC server env to 1.16.5 but the forge Version doesn't change.
I've tried to add env 'FORGE_FORCE_REINSTALL' and 'FORGE_VERSION=36.2.35' to reinstall right Forge version, but useless.
### Container definition
```
Paste run command or compose file here
```

### Container logs
```
Paste logs here
```
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwx--- 18 1000 100 4096 Jan 18 21:03 /data'
[init] Resolved version given 1.16.5 into 1.16.5 and major version 1.16
[init] Resolving type given Catserver
[init] Using Aikar's flags
[init] Setting initial memory to 4G and max to 4G
[init] Starting the Minecraft server...
Loading libraries, please wait...
2023-01-18 21:05:21,914 main WARN Disabling terminal, you're running in an unsupported environment.
[21:05:22] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:05:22] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:05:22] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[21:05:22] [main/INFO]: Forge Mod Loader version 14.23.5.2860 for Minecraft 1.12.2 loading
[21:05:22] [main/INFO]: Java is OpenJDK 64-Bit Server VM, version 1.8.0_212, running on Linux:amd64:5.10.28-Unraid, installed at /usr/lib/jvm/java-1.8-openjdk/jre
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Catserver startup with Minecraft 1.16.5 and inspect how the MC version, FORGE_VERSION, and FORGE_FORCE_REINSTALL environment variables are resolved. Compare the resolved version with the container logs and verify that the server starts with Forge 36.2.35 rather than Forge for Minecraft 1.12.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- devops, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100