Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Goety Client Fix Fixes client-side memory leaks caused by Goety mods for Minecraft 1.20.1 (Forge).
Problem When a player dies/respawns or changes dimension, the old LocalPlayer and ClientLevel instances are not garbage collected. Memory grows with each death, eventually causing lag and crashes.
How it works Tracks Minecraft.player reference each tick. When the instance changes (respawn, dimension change), the mod:
Invalidates old player and level capabilities to break reference chains Clears Mob.target and LivingEntity.lastHurtByMob references to the old player Clears static Entity/Player/Level fields in Goety/GoetyAwaken client event handlers via reflection Runs periodic cleanup every 30 seconds as a safety net Requirements Forge 47+ (Minecraft 1.20.1) Client-side only


