I'd like to create a mod that increases the distance at which you get the "Looking at" text on the debug overlay. After bumping around in the code (version 1.13.2 - 25.0.149), it looks like the place this is done is in GuiIngameForge.GuiOverlayDebugForge.update(), where it uses a hard-coded distance of 20. Now this is Forge, so I know I'm not supposed to go replacing chunks of code. However, I see no events that I can pull from, and besides, the fields being set here are private. So I figured maybe I'm supposed to extend GuiOverlayDebug and have it reinitiatlize its debugOverlay with a custom subclass of GuiOverlayDebugForge, but the problem there is that both the field and the type are private.
So what's the "correct" way to do this? Should I make a pull request to Forge? If so, would it be appropriate to take that hard-coded value and move it to a static field with a public setter?
Thanks for reading, and please let me know if I can clarify anything.