Skip to content

Decouples the scaling of individual GUIs, the HUD, and Tooltips.

License

Notifications You must be signed in to change notification settings

DRKV333/ScalingGUIs

 
 

Repository files navigation

ScalingGUIs

Decouples GUI scales, HUD scale, and Tooltip scale such that any GUI can be scaled to the player's liking.

Downloads

Wiki

Default Scales

ScalingGUIs includes settings for GUI, HUD, and Tooltip scales.

  • GUI scale the default scale for all GUIs
  • HUD scale for rendering all HUD elements
  • Tooltip scale for rendering tooltips

Custom Individual and Group Scales

ScalingGUIs allows for custom scales for GUIs based on user-specified GUI class names. Examples:

  • net.minecraft.client.gui.GuiMainMenu allows the user to specify a scale for the Main Menu
  • betterquesting.api2.client.gui.GuiScreenCanvas allows the user to specify a scale for Better Questing GUIs initialized by GuiScreenCanvas or a child class

Scale Slider

ScalingGUIs presents the scale settings as sliders. The scales range from 1x (Small) to 8x. The left-most slider position is the Auto (Max) scale. The right-most slider position sets the scale to the default/main GUI scale.

Class Name Logging

ScalingGUIs allows logging of GUI class names in the Minecraft log and to chat, as well as persistent logging in the ScalingGUIsCustomScales.json config file.

TODO

  • Add SelectValue entry to blacklist config category as in the Individual and Group categories
  • Add system to recouple GUI scales. Will allow for a single slider to scale multiple differently-named GUIs
  • Look into decoupling JEI plugins within the recipes GUI
  • Consider decoupling different HUD elements

About

Decouples the scaling of individual GUIs, the HUD, and Tooltips.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%