Blacklist - Spazley/ScalingGUIs GitHub Wiki

The blacklist is a list of GUI classes that should not cause a scale change. GUIs with names in the blacklist scale according to whatever previous scale was set. This is particularly useful if a GUI actually consists of multiple GUIs and the first GUI should set the scale for all or for when a GUI is opened from many other GUIs and the former should scale according to whichever GUI it was opened from.


Upon initially opening the GUI Class Blacklist menu, the menu will only contain an entry for a blacklist string array.

GUI Class Blacklist menu

Open the array entry to see a screen where individual array elements can be added, modified, or removed.

Blacklist array

This example contains the default blacklist for Tinker's Construct GUIs. These are GUIs that are only parts of a screen and as such should scale with the previous GUI.


Example

This example adds the JEI recipes GUI to the blacklist so that it scales with the scale of whatever inventory was open before it.

With the blacklist array screen open, add a new entry for the recipes GUI (mezz.jei.gui.recipes.RecipesGui).

Recipes GUI entry added

Return to the game to see the effects. *Note this example has the crafting table GUI scale set to 2 (NORMAL), the chest GUI scale set to 3 (LARGE), and the main GUI scale set to 4.

Recipes GUI changing scale


Miscellaneous

If the updateBlacklist config option in the General Settings menu is true, the default blacklist values will be added to the blacklist when the main ScalingGUIs menu is closed.