## 1.21.1 Backport Changes
- **Minecraft / Mappings:** Updated target to `Minecraft 1.21.1`, Parchment mappings `2024.11.17`, and NeoForge `21.1.215`.
- **Branch:** Added branch `1.21.1` for the backport.
- **Keybinding:** Replaced `KeyMapping.Category` usage with a string category key to match the 1.21.1 API.
- **Mod Metadata:** Added required loader fields to `src/main/templates/META-INF/neoforge.mods.toml` (`modLoader` and `loaderVersion`).
- **Mixin (FOV):** Adjusted `GameRendererMixin` to match the runtime `GameRenderer#getFov(Camera, float, boolean)` signature (returns `double`).
- **Crash Fix:** Removed the float-return injection that caused a Double→Float ClassCastException; now uses the Double-return injection matching the runtime descriptor.
- **Build & Test:** Rebuilt successfully and ran the dev client to verify startup without the previous ClassCastException.
Notes:
- These changes are limited to the backport; API differences between 1.21.10 and 1.21.1 were handled with minimal, targeted edits.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }