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 objects are not garbage collected. This causes client memory to grow continuously, eventually leading to lag and crashes.
Fixes Invalidates old player and level capabilities on respawn/dimension change to break reference chains Clears Mob.target and LivingEntity.lastHurtByMob references to the old player in the client level Clears static Entity/Player/Level fields in Goety/GoetyAwaken client event handlers via reflection Periodic cleanup (every 30s) to catch any lingering references Requirements Forge 47+ (Minecraft 1.20.1) Client-side only, server does not need this mod


