RevertBrainChange
In Minecraft version 1.19 and above, the behavior of net.minecraft.entity.ai.Brain#tickMemories
was altered: memory processing now occurs only after its expiration, which is completely opposite to the behavior in previous game versions.
From a code logic perspective, this change appears justified, but it has led to unexpected consequences, such as reducing the spawn rate of Iron Golems by 100 ticks per spawn attempt.
Detailed information about the issue can be found in the corresponding bug report on the Mojang tracker.
Key Features:
- Restores the previous logic of entity memory processing
- Fixes the issue with Iron Golem spawning
- Compatible with Minecraft versions 1.19+
The modification is designed to eliminate side effects caused by changes in the game's core.