FTB Library (NeoForge)

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

[NEOFORGE][1.21.1] FTB Library 2101.1.40

File nameftb-library-neoforge-2101.1.40.jar
Uploader
FTBTeamFTBTeam
Uploaded
Nov 16, 2026
Downloads
19.8K
Size
1.6 MB
Mod Loaders
NeoForge
File ID
9650381
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

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

Learn more about Curse Maven

What's new

[2101.1.40]

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 Icon#isAspectRatioResolved method to handle icons which are async-loaded (e.g. the new WebPIcon)
  • 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
    • 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 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