{"id":16636361,"url":"https://github.com/isxander/adaptivetooltips","last_synced_at":"2025-03-16T22:31:07.271Z","repository":{"id":63315070,"uuid":"561018549","full_name":"isXander/AdaptiveTooltips","owner":"isXander","description":"Highly configurable tooltip rendering so they always fit on the screen.","archived":false,"fork":false,"pushed_at":"2024-08-08T17:23:56.000Z","size":3765,"stargazers_count":25,"open_issues_count":23,"forks_count":12,"subscribers_count":2,"default_branch":"1.19.3","last_synced_at":"2025-02-27T14:48:19.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isXander.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/1.1.0.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"isxander"}},"created_at":"2022-11-02T19:05:47.000Z","updated_at":"2025-02-15T18:36:06.000Z","dependencies_parsed_at":"2023-09-28T23:59:25.784Z","dependency_job_id":null,"html_url":"https://github.com/isXander/AdaptiveTooltips","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":"isXander/FabricModTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isXander%2FAdaptiveTooltips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isXander%2FAdaptiveTooltips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isXander%2FAdaptiveTooltips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isXander%2FAdaptiveTooltips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isXander","download_url":"https://codeload.github.com/isXander/AdaptiveTooltips/tar.gz/refs/heads/1.19.3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830952,"owners_count":20354854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T06:06:37.773Z","updated_at":"2025-03-16T22:31:06.818Z","avatar_url":"https://github.com/isXander.png","language":"Java","funding_links":["https://ko-fi.com/isxander"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\u003ccenter\u003e\n\n![Icon](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/src/main/resources/icon.png)\n\n# AdaptiveTooltips\n\n[![Mod Loader](https://img.shields.io/badge/Mod%20Loader-Fabric-lightyellow?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS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MyYy1mZjhjLWU0NDEtOTMxZi00OTVkNGYxNGM3NjAiIHN0RXZ0OndoZW49IjIwMTgtMTItMTZUMTY6NTQ6MTctMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE4IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4/HiGMAAAAtUlEQVRYw+XXrQqAMBQF4D2P2eBL+QIG8RnEJFaNBjEum+0+zMQLtwwv+wV3ZzhhMDgfJ0wUSinxZUQWgKos1JP/AbD4OneIDyQPwCFniA+EJ4CaXm4TxAXCC0BNHgLhAdAnx9hC8PwGSRtAFVMQjF7cNTWED8B1cgwW20yfJgAvrssAsZ1cB3g/xckAxr6FmCDU5N6f488BrpCQ4rQBJkiMYh4ACmLzwOQF0CExinkCsvw7vgGikl+OotaKRwAAAABJRU5ErkJggg==)](https://fabricmc.net)\n![Enviroment](https://img.shields.io/badge/Enviroment-Client-purple)\n[![Discord](https://img.shields.io/discord/780023008668287017?color=blue\u0026logo=discord\u0026label=Discord)](https://short.isxander.dev/discord)\n\n[![Modrinth](https://img.shields.io/modrinth/dt/adaptive-tooltips?color=00AF5C\u0026label=downloads\u0026logo=modrinth)](https://modrinth.com/mod/adaptive-tooltips)\n[![CurseForge](https://cf.way2muchnoise.eu/full_704346_downloads.svg)](https://curseforge.com/minecraft/mc-mods/adaptive-tooltips)\n\n[![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/isxander)\n\n[![](https://www.bisecthosting.com/partners/custom-banners/08bbd3ff-5c0d-4480-8738-de0f070a04dd.png)](https://bisecthosting.com/xander)\n\nHighly configurable tooltip rendering, so you can *always* read them!\n\n\u003c/center\u003e\u003c/div\u003e\n\n\n## Why was this mod created?\n\nVanilla tooltips are not very smart: this mod aims to fix that. In vanilla, there are a lot of\nsituations (especially when modded) where you just cannot read a tooltip due to it being just too long\nto fit on the screen. There are many solutions!\n\nAdaptiveTooltips aims to dream up and implement these solutions into Minecraft for a vanilla-like\ntooltip experience without the frustrations.\n\n## Features\n\nThere are many methods in which AdaptiveTooltips can save your tooltips from the clutches of the bezels;\nbelow are a list of all the (toggleable) options to fix this.\n\n### Text Wrapping\n\nThere is one very obvious fix to tooltips going off-screen horizontally: text wrapping! If a line\nis too long to fit on your screen, AdaptiveTooltips intelligently splits it into however many\nnecessary, using words as cut-offs to not interrupt your reading.\n\nThere are multiple methods of wrapping:\n- `Screen Width` - The mod wraps with a max line width of the width of your screen (minus 15). Intended to be paired\n  with **Bedrock Centering** option.\n- `Remaining Width` - Allows tooltip lines to fill a maximum of what's left until the tooltip reaches the end of the \n  screen, picking either the left or the right depending on which would require less wrapping.\n- `Half Screen Width` - Only allows tooltips to have a width of half of the screen.\n- `Smart` - Wraps lines that are considerably longer than the others, with a hard limit of 3/4 of the screen width.\n\n![Remaining Width Wrapping On/Off Comparison](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/remaining-width-wrapping.png)\n*screenshot is using `Remaining Width` wrapping method*\n\n### Prioritize Tooltip Top\n\nI'm actually surprised even Mojang didn't think of adding this one, by default, tooltips that are taller than\nyour screen limit their bottom to the edge of the screen, not the top. This results in you being able to read\nthe (often less important) bottom of the tooltip instead of the top. This fix addresses that.\n\n![Prioritize Tooltip Top On/Off Comparison](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/prioritize-tooltip-top.png)\n\n### Bedrock Centering\n\nThis feature grants parity between Java and Bedrock Edition. By default, Bedrock automatically centers\nthe tooltip if it is too long to fit on either the left or the right, this adds that. For the best \nexperience, it is best to pair this with **Screen Width Text Wrapping**.\n\n![Bedrock Centering On/Off Comparison](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/bedrock-centering.png)\n\n### Align To Corner\n\nWhen all else fails, this feature is a good fallback. If after all the above features fail to keep the\ntooltip on the screen, AdaptiveTooltips just places the tooltip in any of the 4 corners of the window,\ndetermining that based on the least obstruction of the mouse cursor.\n\n![Align Corner Example](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/align-corner.png)\n\n### Tooltip Scrolling\n\nYes, that's right, scrolling. It's been tried on Fabric many a times with little success with annoying\nedge-cases and bugs that make using scrolling annoying, but I've fixed all grievances! You can scroll\nvertically *and* horizontally with smooth animations and fine-tuning from the scroll direction to the\nsensitivity of the scrolling. AdaptiveTooltips is also smart and knows the difference between two different\ntooltips and discards scrolling data when necessary.\n\n![Tooltip Scrolling Example](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/scrolling.gif)\n\n### Transparency Modification\n\nYou may be bothered that tooltips may obstruct the view of the next few items in your inventory, this\nfix aims to mitigate that by allowing you to adjust the transparency of the tooltip, allowing you to\ndecide what's best for in terms of visibility and transparency.\n\n![Transparency Modification Example](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/transparency-modification.png)\n\n### YACL-style GUI Tooltips\n\nCapture the style of [YetAnotherConfigLib](https://curseforge.com/minecraft/mc-mods/yacl)'s tooltip positioning\nby placing tooltips above or below a hovered button.\n\n![YACL-style GUI Tooltips](https://raw.githubusercontent.com/isXander/AdaptiveTooltips/1.19.3/screenshots/yacl-style.png)\n\n## License\n\nThis mod is under the [GNU Lesser General Public License, v3.0](/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisxander%2Fadaptivetooltips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisxander%2Fadaptivetooltips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisxander%2Fadaptivetooltips/lists"}