All versions
2.2.46.a+forge-1.20.1
Release
LDLib2 2.2.46.a (Forge 1.20.1)27 days ago 3
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Required content
Any compatible version
Changes
Changelog
v2.2.46.a
- Updated to LDLib2 2.2.46.a, backported from the 1.21 line
- Added auto layout to the graph context menu with layered, grid and force-directed algorithms, and placemats arranged as one box or from the inside out
- Added selectable wire route styles: curved, octilinear, orthogonal and straight
- Added a Get/Set choice when a variable is dropped on a graph that can write one
- Added
canAuthorLiteral, authored tooltips on port builders, an lss sprite wrap mode, kebab-case enum values and rect corner segments - Graph snapping now takes a node by its nearest edge and lines it up with nearby elements behind a guide, remembered per graph type with the wire style
- The resource view tab strip is resizable, wrapping, reorderable by drag and placeable on any of the four sides
- Fixed a client being unable to join a server without LDLib2
- Fixed dragging several elements at once changing the spacing between them, a ResourceProvider crash, and the item stack configurator crashing on a null stack
- Added global search and folder resource providers in the asset browser, undo and redo for UI editor element edits, and debugging a running UI editor simulation with the UI debugger
- Added remembering window dialog sizes, right-click to cancel a gizmo drag, Ctrl+A in the graph view, and translating enum selector entries by
<enum class>.<CONSTANT>keys - Fixed commands bubbling past the view that handled them, inactive panels and elements still taking input, and IConfigurable's configurator methods being stripped from a dedicated server
- Fixed the asset browser rebuilding for other providers, renaming a resource its provider cannot store deleting it, and editors not following a rename made elsewhere
- Added mark strategies, a registry of cheap checks for whether a managed value changed, and
IContentVersionfor values that count their own changes - Added
UIRecording, scripted UI videos with a smooth pointer, click and key overlays, captions and zooms, run with-PldRecord(needs ffmpeg) - Added a gui scale of their own to OS windows, picked by right-clicking a floated tab or from View > Window Size
- Added
UIElement#reorderChildren,UIElement#getContentHostandModularUI#addFrameCallback - Added
@ManagedCodecto save and sync a managed field with a codec of your own - Async sync now sends one packet per chunk each period and skips encoding changes of chunks nobody watches
- Async sync calls
setChangedonce per block entity per period instead of once per changed field - Change detection compares item and fluid containers slot by slot and compares collections of strings, numbers, enums and registry entries directly
- Attaching and detaching async logics is constant time, so unloading many block entities no longer stalls the server
- Fixed custom persisted data of managed holders never loading back
- Fixed null elements of managed lists and sets loading back as
_NULL_or as a copy of the previous element - Fixed fields held back by
@ConditionalSyncednever being saved, and array fields re-sending after their elements changed - Fixed saved editor layouts missing a pane crashing the next load, and docked views going missing when a layout moved panes
- Fixed closing an OS window leaving its UI alive, and an editor popped out from code being pulled back into the game window
- Fixed adaptive scrollers laid out empty never growing, which hid the tab strips of floating windows
- Fixed picking a context menu entry leaving focus on the closed menu
- Fixed the scene cache compile throwing when its scene closed mid-compile, and leaking native buffers
- Fixed an element whose id changed after it was added no longer being found by that id
- Fixed labels and progress bars keeping their tick listener after their data source was unbound
- Fixed UI editor undo not restoring a removed tab's content, and editors opened from the resource panel landing behind the Scene tab
- Fixed the asset browser search running on after it closed, the file dialog failing to jump to a shown path, and submenus drawing under their parent
- Fixed tree lists leaving removed rows behind when folded and a row's arrow selecting the row
- Fixed an empty fluid slot showing no tooltip
- Fixed text fields keeping their old placeholder after it changed
- Fixed compact numbers, such as fluid slot amounts, never showing their decimal
- Added compact counts to item slots past three digits, with the full count in the tooltip
- Fixed SDF rects cutting off their anti-aliased edge and applying its alpha twice
- Fixed uitest clients left running when the game never exits
- Fixed SDF rects with a square corner drawing half of their fill transparent
- Fixed elements with an opacity below 1 or an overflow clip sometimes rendering black
- Fixed the UI editor losing JEI, REI and EMI after docking back from its own window
- Fixed UI layouts authored on 1.21 failing to load their text components
- Added the in-client UI test harness to the Gradle build (
gradlew runClient -PldTest=all) - Fixed every scene compile leaking its vertex buffers in native memory
- Fixed bold, italic and other style flags of 1.21-authored text loading as plain
- Taffy updated to 1.1.5
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:RcOiU64x:vcnCp31I"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:RcOiU64x:vcnCp31I"
}![LDLib2 [Forge]](https://cdn.modrinth.com/data/RcOiU64x/893ddb2d186c46802f92f34f0b9083930aed25e2_96.webp)

