FTB Library Neoforge 26.1.2.12
Curse Maven Snippet
What's new
[26.1.2.12]
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
IconRenderer#isAspectRatioResolvedmethod to handle icons which are async-loaded (e.g. the newWebPIcon) - Deprecated
URLImageIconsince the baseImageIconcan do everything that class did - 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
- Although client config sync'ing requires player permission lvl 4, this is an extra defensive layer
Changed
CurrencyProviderabstraction layer now uses longs instead of ints- This is an API break! FTB XMod Compat 26.1.2.6 or later is needed to work with this
- 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

