All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Entity face selector screen has multiple modes now (all/hostile/neutral/animal)
- Added keyboard icons (
Icons.KEYBOARD)
- Added BaseValue#standardTopLevelComment method
- Ported to Minecraft 1.21.11
- This release contains many breaking changes wrt the last 1.21.1 build!
- Mod configs are now stored in JSON5 format, rather than SNBT
- Added support for read-only config viewing in
EditConfigScreen- Can be used to allow regular non-admin players to see server configs but not edit them
- Select screen for enum-based config values now has better width and height (based on number of entries and max entry name length)
- Modal Panel gui elements didn't have their tick() method called via
BaseScreen
- TextField widget text reflow now correctly accounts for scaling
- Cleaned up widget layout for the
AbstractButtonListScreenselector screenEnumConfignow usesAbstractButtonListScreeninstead of deprecated (and buggy)ButtonListBaseScreen
- Added
pt_brtranslation (thanks @PrincessStelllar)
- Fixed NBT Editor screen (
/ftblibrary nbtedit) sending data to the server twice when changes applied
- Fixed NBT tags with an empty key being saved to invalid SNBT strings
- Resolved a couple of minor issues with the back button behaviour in GUI's
- Better extensibility for the NBT editing GUI system
- Added a handler registration system for NBT edit response packets:
NBTEditResponseHandlers - Made
FTBLibraryCommands.InfoBuilderutility class public - Allows other mods (e.g. FTB Teams) to register their own NBT editor handlers for their objects
- Added a handler registration system for NBT edit response packets:
- Fixed config edit screens not properly honouring explicit order for entries (set via
ConfigValue#setOrder)
- You can now override the previous screen from the base-screen to allow modified behaviour of the 'back' system.
- (Fabric only) fixed an issue causing access wideners to not be processed, leading to a startup crash outside dev environments
- Added 9-arg variant of
NetworkHelper#compositefor stream codec purposes - Added client sync'ing for builtin gamestage provider (
EntityTagStageProvider)- Can be used to sync vanilla entity tags to players
- Minor issue causing the context menu to sometimes not show all options based on row + column calculations due to rounding errors
- Added
ftb:rainbowas a valid color to the component's color system- Causes text to cycle through colors like a rainbow
- Also added a custom event
RegisterCustomColorEventto allow other mods to add new colors
- Registry Ops not being passed to the item stack on stack parsing
- A minor rounding issue on context menu row/column calculations causing some options to not show
- Moved some entity face loading code from FTB Chunks into FTB Library
- Allows it to be also used by FTB Quests
- This release will not work with FTB Quests earlier than 2101.1.16, or FTB Chunks earlier than 2101.1.11!
- Added abstraction layer API for currency mods
- Does nothing on its own; intended to be set up by FTB XMod Compat
- Added filtering to
ResourceConfigValue, allowing extra custom filtering in resource selection screens- E.g. have the itemstack selection screen only allow blocks to be selected
- Make the
/ftblibrary dayandnightcommands act more like their vanilla counterparts- Better cross-mod compat
- Added
TextField#reflowmethod (recalculate width/height/linecount after changing the text)
- Fixed pressing the "E" (inventory) key in some popup textfields causing the current screen to close
- The
Theme.drawHorizontalTab()method now works again
- Added
pt_brtranslation (thanks @Xlr11)
- Fix a client crash triggered by certain empty textures
- Added
SidebarButtonVisibilitypacket to allow dynamic server-side control of sidebar button visibility
- Added support for an "environment_condition" field to sidebar JSON files
- If non-empty, allows for control of sidebar button visibility via presence or absence of an environment variable
- Use a "!" prefix to require the environment variable to not be present
- Better search in resource selection GUIs
- Can now use a space-separated list of terms, all of which must match
- e.g.
@minecraft logmatches only vanilla logs
- Added new
EditConfigChoicePacketnetwork packet to support mods offering client & server config editing buttons/commands
- Config screens (including FTB Quests property editing) now have cleaner tooltip handling
- Instead of every line showing tooltip info, each line now has a "i" info button on the left to show the tooltip
- Reduces the distracting of big tooltips popping up and down when the mouse moves over a config screen
- Added
ja_jptranslations (thanks @twister716) - Updated
ru_rutranslations (thanks @BazZziliuS)
- Added the concept of startup configs to the new
ConfigManagersystem- Startup configs are loaded at mod construction time, not sync'd and not intended for in-game editing
- Load client config a little earlier to avoid possible resource reloading accessing not-yet-loaded configs
- Added a new config system implementation. IMPORTANT CHANGE for modpack developers and server admins!
- Existing system still works but is considered deprecated. So far, only FTB Library client config uses the new system
- Other FTB mods will be migrated to the new system soon and similar notes will be added to their changelogs
- Default configs are no longer loaded from
defaultconfigs/- this folder is now ignored by FTB Library - Configs should be distributed by modpacks in the
config/folder - Config overrides are also checked for in
local/(client configs) and<world>/serverconfig/(server configs) and loaded from there in preference; server admins can use this to have custom local configuration if desired
- Existing system still works but is considered deprecated. So far, only FTB Library client config uses the new system
- Fixed several atlas texture sizes which weren't 16x16
- Added a
Icon#aspectRatio()method, which the image width / height- Returns 1 for most icon types, but image and atlas sprite icons may have a different aspect ratio
- Logical image size is used, so animated textures will return the correct ratio
- Added a
Icon#getPixelBufferFrameCount()method- Returns the number of animation frames in an atlas sprite icon, as controlled by .mcmeta file
- Always returns 1 for non-atlas-sprite icons (including
AnimationIcon, which is just a list ofIcon!)
- Fixed some icons not rendering correctly
- Specifically, "empty" icons were rendering as white squares instead of falling back to an appropriate default in FTB Quests
- Fixed cross-mod compat issue causing crashes under some situations when players join
- Overhauled and cleaned up many icon textures
- Fixed a client crash with certain inputs to IntTextBox (as used in FTB Chunks waypoint editing)
- Added a dropdown menu widget
- Exposed some more methods in
EditStringConfigOverlay
- Replaced
ContextMenu.CButtonwithContextButton
- Fixed
allowEditModeinTextBoxnot applying in all situations - Fixed items/fluids/images in respective resource search screens being jammed together too closely
- Fixed an issue in config loading/saving of certain data types (affects FTB Chunks minimap info settings)
- Added tr_tr translations (thanks @RuyaSavascisi)
- Fixed
/ftblibrary clientconfigcommand not being usable without op perms
- Fixed a couple of minor GUI drawing artifacts in some screens
- Updated to MC 1.21.1
- Sidebar buttons (from FTB Library and all mods which add buttons) are now all repositionable and toggleable
- New sidebar button to open client config for FTB Library (can be used to hide sidebar entirely)
- Client config can also be opened via
/ftblibrary clientconfigcommand