
goety-client-fix
Goety Client Fix Fixes client-side memory leaks caused by Goety mods for Minecraft 1.20.1 (Forge).
Список изменений
updata log — goety-client-fix v1.2.0 Rewrote player instance detection: PlayerEvent.Clone does not fire on the client side in Forge 1.20.1, and ClientPlayerNetworkEvent.LoggingOut only fires on disconnect — neither catches death/respawn. Replaced both with tick-based tracking of Minecraft.player, which reliably detects every instance change. On player instance change: invalidates old player capabilities, clears mob targets and lastHurtByMob references in the old level, and cleans Goety/GoetyAwaken static fields via reflection. On level instance change: invalidates old ClientLevel capabilities to break reference chains. Periodic cleanup: every 30 seconds, verifies old player was GC'd and re-cleans if not. Removed dead code (PlayerEvent.Clone handler, LoggingIn handler, unused imports).
