Background
See a question post in MCBBS (https://www.mcbbs.net/thread-1200970-1-1.html), only to find that no one has written a specific solution, hereby record.
Problem description
Quark adds a series of interface buttons to facilitate players to perform fast IO, items, highlight search and other operations on the container.
The original box looks natural, but the interface of other mods may occur in various wonderful typesetting problems. Taking Traveler's Backpack as an example, as an example.
The easiest way to violently open the Quark configuration interface, position the related configuration items, and change to False to disable these buttons.But this configuration is global, and all interfaces will lose these useful buttons.
So how to disable the display of the quark button in the specified interface?
Solution
In fact, Sister V has long thought of this problem and provided a special configuration.
The configuration interface in the game is located in this position.
This configuration item is specifically used to set the blacklist of the interface, and which interface does not display the Quark button.However, the complete class name of the interface needs to be filled in, involving a losing Java development knowledge, so it persuades ordinary players.
Taking Traveler's Backpack as an example, according to normal ideas, we need to obtain the complete category name of the traveler's backpack interface.The most reliable approach is to find the source code warehouse of this MOD and follow the principle of "seeing the reputation". Even if we do not participate in the actual development of this MOD, we can quickly locate the target class.For those non -open source mods, they can only leave a message to the author and make it clear.Of course, it is not impossible to compile more hard -core players.
Fortunately, the authors of the traveler's backpack mod are open source on Github, and we do it directly by ourselves.According to the above figure, the full class name of the traveler's backpack interface is
com.tiviacz.travelersbackpack.client.gui.travelrsbackpackscreen
Note: The English half -bonus in the middle of the package name and the class name, don't miss it.
Then fill in the full class name into the configuration items just now and save the change.
Now we open the box and the traveler's backpack separately to accept the results.
Gonggong successfully ~
Other problems
If the modification does not work:
Restart the game
Confirm that the configuration file is preserved successfully
Confirm that the complete class name of the interface is correct, including whether it is the target interface, and whether the spelling is correct, etc.
If the problem still exists, don't be shy, ask questions boldly ~
For the first time, I welcomed the ax.