Download No Null Processors — Minecraft Mods — MetaMods

No Null Processors

Active

Downloads

7

Last update

2 years ago
Client
Fabric
Quilt
Forge
Neoforge
Utils

No Null Processors

Solution to World Generation Crashes

Experiencing unexpected crashes when pre-generating large areas in Minecraft? If you see NullPointerException errors related to StructureProcessorList in your logs, you've encountered a specific issue affecting versions 1.17.0-1.18.1.

What's the Problem?

During multi-threaded chunk generation, a rare situation occurs where multiple structures simultaneously attempt to access the same processor in the registry. This creates a conflict that results in one of the processors becoming unavailable (null), causing the game to crash.

How Does the Fix Work?

The No Null Processors mod resolves this issue by caching RegistryOps for each processor list. This ensures that each processor is written to the registry only once and then reused multiple times, eliminating the possibility of conflicts during simultaneous access.

Important Compatibility Information

  • Problem exists in: Minecraft 1.17.0 - 1.18.1
  • Problem fixed in: Minecraft 1.18.2 and newer
  • Not affected: Version 1.16.5 and below

If you're using Minecraft 1.18.2 or newer versions, this mod is unnecessary as Mojang developers have already fixed this bug in the base game.

Project members
TelepathicGrunt

TelepathicGrunt

Created: 14 Sep 2022

ID: 15311