[NEOFORGE][1.21.1] FTB Library 2101.1.40
Curse Maven Snippet
What's new
[2101.1.40]
Added
- Support for webp image format, including animated .webp files
- Added a
WebPIconclass for static webp image display - Added a
AnimatedImageWidgetclass to allow animated webp files to be embedded in GUIs
- Added a
- Added
Icon#isAspectRatioResolvedmethod to handle icons which are async-loaded (e.g. the newWebPIcon) - Added "resize" and "pause" icons
- Added
BaseValue#fromFileOnlymethod- Can be applied to config values which may not be edited via GUI on client
- Such values can only be read from the config file
- While client config sync'ing requires player permission lvl 4, this is an extra defensive layer
Changed
- Reworked image discovery to be properly texture-atlas-aware
- The benefit here is that all textures atlases are properly scanned, and useful information like image aspect ratios are available
- This will be of particular use to FTB Quests
Fixed
- Adjusted modal panel drawing in
BaseScreenso it's again safe to overridedrawForegroundwithout need to callsuper()
Support
If you have any issues with this mod, please report them on our Issue Tracker
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include