monkeypatches-0.4.3.jar
Curse Maven Snippet
What's new
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)
This mod has no additional files

