File Details
monkeypatches-0.4.3.jar
- R
- Aug 12, 2025
- 51.41 KB
- 18.4K
- 1.21.1
- NeoForge
File Name
monkeypatches-0.4.3.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Added
- JustEnoughResources GH547 patch for biome helper compatibility
- BiomeHelperMixin: Fixes biome lookup and listing in JER for NeoForge 1.21+ by updating registry access
- Prevents crashes and missing JER tabs when using mods with custom biomes like Vanilla Backport
- Updates three critical methods: getAllBiomes(), getBiome(), and getBiomes() to use modern registry access
- Only loads when JustEnoughResources mod is present (no version restrictions needed)
Technical Details
- Replaces legacy biome registry access with
level.registryAccess().registry(Registries.BIOME) - Includes comprehensive null safety checks for level and registry availability
- Uses @Inject mixins to replace method implementations while preserving original behavior when disabled
- Configuration option:
patches.jeresources.gh547_enabled(default: true)

