your current location:首页 > news>Adaptive Tool Tips Minecraft

Adaptive Tool Tips Minecraft

2024-12-15 01:39:02|Myriagame |source:minecraft skins

Overview

This module has a highly configurable tips (Tooltip) rendering, allowing players to easily browse at any time!

Why create this module?

The original prompt box is not very intelligent: this module aims to solve this problem.In the original version, there are many cases (especially after modification). Because the prompt box is too long, it cannot be fully presented on the screen, and the player cannot browse the prompt box at all.There are many solutions!

The goal of AdaptiveTooltips is to conceive and implement these solutions in Minecraft to get the original and far away from troubles.

Function

AdaptiveTooltips can be rescued from the edge of the magic palm through multiple methods; the following (switch) options solve the problem of this problem are listed below.

Text change line

There is a very obvious method that can solve the problem of the prompt box horizontal deviation from the screen: text change!If a line of text is too long and cannot be displayed on the screen, AdaptiveTooltips will intelligently divide it into the required parts and use words as a line to avoid interference of players' reading.

There are many ways to change the way:

Screen width-The maximum width of this mode is the width of the screen (minus 15).Use it with the ink of the base rock version.

The remaining width -Allow the prompt box to fill the maximum remaining space until the prompt box reaches the edge of the screen, and select the left or right on the left or right.

Half -screen width -only allows the prompt box to have half the width of the screen.

Intelligence -is 3/4 of the screen width of the screen.

Minecraft images

Remaining width change method

Top priority

In fact, the author was surprised that Mojang did not consider joining this.By default, the prompt box higher than the screen will limit the bottom to the edge of the screen, not the top.This causes players to only read the bottom of the prompt box (usually not important), not the top.This repair can solve this problem.

Minecraft images

Jieyan version of the center

This feature can keep the Java version and the base rock version consistent.By default, if the prompt box is too long and cannot be displayed on the left or right, the base rock version will automatically center it, and this option is added to this feature.In order to get the best experience, it is best to use it with the screen width text.

Minecraft images

Go to the corner

When all other functions fail, this function is a good spare plan.If all the above functions cannot keep the prompt box on the screen, AdaptiveTooltips will place any corner of the prompt box in the corner of the four corners of the window and determine according to the minimum block of the mouse cursor.

Minecraft images

Rolling prompt box

Yes, it is rolling.The author has tried many times on Fabric, but it is not very successful because there are annoying edge conditions and loopholes that cause rolling to use annoying, but the author has solved all problems!Players can roll vertically and horizontally, and have smooth animation and fine -tuning from rolling direction to rolling sensitivity.AdaptiveTooltips is also very intelligent. It knows the difference between the two different prompt boxes and discard rolling data when necessary.

Minecraft images

(After compression treatment, the picture quality has decreased)

Transparency modification

You may be troubled to hinder several items adjacent in the item bar for the prompt box. This repair aims to alleviate this problem by allowing players to adjust the transparency of the prompt box.transparency.

Minecraft images

YACL style GUI prompt box

By putting the prompt box above or below the hovering button, the prompt box positioning style of YetanotherConfiglib is captured.

Minecraft images

Other matters

This module uses GNU wide general public license V3.0;

Not compatible with information prompts.Because this module is more complete than that