Request for the option to change the on-screen position of the location-info (and change font size too if possible) (additionally: issue with fps display format)
VincedPie opened this issue ยท 1 comments
Mod version
2.2.0
Minecraft version
1.19.2
Mod loader
Fabric
Description of the request
i would like to have the option to further customize the Location Display function like being able to move the position or change the font size of the formatable text that is in the top left corner as of now. also the fps display doesn't seem to work properly somehow when using VSync or AMD FreeSync.
Detailed description with screenshots in the box below.
Do I want to contribute to make it?
No
Something else?
Is your feature request related to a problem? Please describe.
i use xaero's minimap and for me that works best in the top left corner. unfortunately the location-info feature of this mod here is also displayed in the top left corner. now, of course xaero's Mm lets me change the position of the map freely and i could just move it down a little so it doesn't overlap with the info-line anymore but I'm just not exactly a huge fan of that. on a similar vaguely related note, I would also enjoy the option to be able to change the font-size of the info-line as, for me personally, like half the text size would be enough.
apart from this, I would also like to point out an issue I have with the format of the fps display format. My Graphics card uses vsync fps stabilizer and when I add the %fps argument to the location-format text field, it not only displays the current fps i get but also additional text saying "fps T: 120 vsyncfancy fancy-clouds B: 2" which looks kinda obstructive overall. (see last screenshot i have attached)
Describe the solution you'd like
for the position change, maybe there could be a button with a few fixed positions as choices when you click through the button ( like "top left","top","top right" ect) or perhaps even a config screen like the xaero's minimap mod, that lets me drag the info-line where ever i like it best on the screen. the latter option would be quite ideal for me because then i could drag it to where the map infos of Xearo's are and it they would complement each other seamlessly :>
For the font size, there could maybe be a slider, that lets the user choose from like 8pt to 36pt or so, or there could be a button with fixed choices like "big", "medium" or "small" for example, where medium could be the current displayed size and small like half of that and big like 1.5 of the current size?
the fps thing: could you make it so the %fps format only shows the current fps without the additional text? that would be great :)
Describe alternatives you've considered
i have tried just adding a few spaces before the location info in the "Format" text-field, so it moves the info further right on the screen, but this only works as long as i don't turn on any of the x-ray/cave-modes bc they still appear at the far left corner and they just move the info-text further to the middle of the screen, which doesn't look good.
for the font size thing, i tried to find where it could maybe be in the class-files of this mod and change it there manually to my liking, but unfortunately i don't know jack sh*t about coding with java and i wasn't able to find it of even add the feature myself.
putting the map at the other side of the screen also isn't really an option for me bc my stupid little brain is so used to it being on that side and in my mind this minimap just "belongs" there if that makes any sense :0
Additional context
How it looks without repositioning anything:
Adding spaces to the info-line:
but then when i activate one of the modes, this happens :(
moving the minimap down, however, I'm not the biggest fan of this bc the line is so tall (smaler font could be a remedy for this):
The Issue with the fps format:
Huge thanks to your time and effort you put into this. looking forward to your response :)
Have a nice day :>
done for the fabric 1.19.3 version
here a demo:
https://www.youtube.com/watch?v=VElp-Sk62k0
CurseForge link: https://www.curseforge.com/minecraft/mc-mods/xray-1-13-rift-modloader/files/4276517