bridge: update REQ — simplify to backport 1.20.1 → 1.18.2

This commit is contained in:
Claude Chronicler #88
2026-04-14 13:15:31 +00:00
parent 2648133528
commit 02af4832c0

View File

@@ -16,29 +16,21 @@ Forge 1.18.2-40.2.4 and needs it too. Build a 1.18.2 version of both variants.
## What To Build
Backport the current 1.20.1 version of both mods to 1.18.2. Use the 1.20.1 source as the base for both.
### 1. `services/rules-mod/1.18.2/` — Firefrost internal version
- Base on `services/rules-mod/1.20.1/` (closest Forge version)
- Backport from `services/rules-mod/1.20.1/`
- Target: Forge 1.18.2-40.2.4
- Java version: **Java 17**
- Output jar: `firefrostrules-1.0.5-1.18.2-forge.jar`
### 2. `services/discord-rules/1.18.2/` — CurseForge generic version
- Base on `services/discord-rules/1.20.1/`
- Backport from `services/discord-rules/1.20.1/`
- Same Forge/Java targets as above
- Output jar: `discord-rules-1.0.5-1.18.2-forge.jar`
---
## Key Differences 1.18.2 vs 1.20.1
- `build.gradle` — change `minecraft_version` to `1.18.2`, `forge_version` to `40.2.4`
- `mods.toml` — update `loaderVersion` range to `[40,)` and `[[dependencies.serverrules]]` MC version to `[1.18.2,1.19)`
- MappingsChannel: use `official` mappings (same as 1.20.1 should be fine)
- No breaking API changes between 1.18.2 and 1.20.1 for what this mod does
- Config type: use `ModConfig.Type.SERVER` (not COMMON) — confirmed working pattern for 1.18.2 Forge, config goes in `world/serverconfig/`
---
## Build Instructions
```bash