Shoulder Surfing Reloaded

Shoulder Surfing Reloaded

20M Downloads

[FEATURE] [1.19.2] Allow the skipRenderPlayer camera distance to be configurable.

Tmktahu opened this issue ยท 2 comments

commented

Describe your feature
When playing Origins where your character size is smaller than normal, this mod is fantastic. But when keepCameraOutOfHead is enabled, the distance that it begins to hide the character is too large, causing the player rendering to always be skipped. WIthout this setting on, it can be very difficult to mine in tiny tunnels or operate next to walls.

At the moment, the value is hardcoded to 0.80 on line 159 of ShouldRenderer.java.

I suggest making that a configurable value instead.

I would do it myself and put a PR together, but I'm not familiar with how to correctly initialize a new configuration option or compile the mod once the change is done.

commented

Thanks for reporting! This issue has already been reported a few weeks ago. I was thinking about making the distance dependant on the player size (see #115), but i never came around to actually test it. I will try to make it in the coming days.

commented

This has been addressed in SSR release 2.3.2. Thanks again for the report.