promotional bannermobile promotional banner

FTB Library (NeoForge)

Common code for all GUI stuff in FTB Mods
Back to Files

FTB Library Neoforge 26.1.2.12

File nameftb-library-neoforge-26.1.2.12.jar
Uploader
FTBTeamFTBTeam
Uploaded
Nov 5, 2026
Downloads
16.6K
Size
1.8 MB
Mod Loaders
NeoForge
File ID
9456005
Type
R
Release
Supported game versions
  • 26.1.2
  • 26.1.1
  • 26.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:ftb-library-forge-404465:9456005"

Learn more about Curse Maven

What's new

[26.1.2.12]

Added

  • Support for webp image format, including animated .webp files
    • Added a WebPIcon class for static webp image display
    • Added a AnimatedImageWidget class to allow animated webp files to be embedded in GUIs
  • Added IconRenderer#isAspectRatioResolved method to handle icons which are async-loaded (e.g. the new WebPIcon)
  • Deprecated URLImageIcon since the base ImageIcon can do everything that class did
  • Added "resize" and "pause" icons
  • Added BaseValue#fromFileOnly method
    • 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

  • CurrencyProvider abstraction 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 BaseScreen so it's again safe to override drawForeground without need to call super()

Support

If you have any issues with this mod, please report them on our Issue Tracker

This mod has no additional files