## What the update brings to the player:
- Scaling system
> The player can now scale the widgets with a slider in the options screen 🎉
- Better saving system to prevent invalid/corrupted files
## What this update removes for the player:
- I am sad to announce that `Horizontal Rainbow` for text Widget has been removed for performance as well as the new scaling system (it might be brought back later)
## Developer changes: (Nerdy stuff, viewer discretion advised)
- Library now uses `Set` data structure instead of `List` data structure
- For scaling system two new classes have been added in addition to changes in `TextureHelper.java` and `DrawHelper.java`
> `CustomTextRenderer.java` for scaling texts
> `CustomItemRenderer.java` for scaling item textures
*_You may need to add your own custom classes for scaling if you use some different renderer/rendering system/Widget_*
- `DrawHelper.java` adds the following method:
> `drawTextWithScale(...)` : Draws scaled text on screen
- `TextureHelper.java` adds the following method:
> `drawItemTextureWithTextAndScale(...)` : Draws an scaled item texture on the screen with text at a specified position relative to it.
- And much more which I don't remember (it will be updated on [Gitbook](https://tanishisherewith.gitbook.io/dynamic-hud/) )
## Increased performance and calculation. Default Key binds are now changeable.
## _AutoSave_ is now improved to create a temporary file before updating the main config file.
### Important changes for developer:
> `Widgets` and `MainMenuWidgets` list has been changed from `List` to `Set`.
> You can now update the default keybind and their 4 parameters:
- `translationKey` by using the `DynamicHUD.setTranslationKey(translationKey)`
- `InputUtil.type` by using the `DynamicHUD.setInputType(inputType)`
- `keybindCategory` by using the `DynamicHUD.setKeybingCategory(keybingCategory)`
- `key` by using the `DynamicHUD.setKeyBindKey(key)`
Get Live changes at: https://github.com/V-Fast/DynamicHUD
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }