Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
MidnightLib

MidnightLib

Common library providing a lightweight configuration system

8.02M
1,203
Library
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x
1.17.x

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side
Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Visit wiki Join Discord server

Creators

Motschen
Motschen Owner

Details

Licensed MIT
Published 4 years ago
Updated last week
DescriptionGalleryChangelogVersions

Show all versions

1
2
3
4
5

MidnightLib 1.6.0 - Fabric 1.21

by Motschen on Aug 25, 2024
Download

MidnightLib v1.6.0 for 1.21

View the changelog

  • Minify json files and images
  • More compact code & finishing touches
  • Show errors again and correctly handle closing
  • Improved layout and lists
    • use fileChooser.showDialog(null, null) instead of fileChooser.showOpenDialog(null)
    • add file chooser for String field in 1.6.0
  • Bump version
  • Update Neoforge to fix #60

MidnightLib 1.5.8 - NeoForge 1.21

by Motschen on Aug 10, 2024
Download

MidnightLib 1.5.8 - Fabric 1.21

by Motschen on Aug 10, 2024
Download

MidnightLib v1.5.8 for 1.21

View the changelog

  • Bump version

MidnightLib 1.5.7 - NeoForge 1.21

by Motschen on Jun 17, 2024
Download

MidnightLib 1.5.7 - Fabric 1.21

by Motschen on Jun 13, 2024
Download

MidnightLib v1.5.7 for 1.21

View the changelog

  • Fix crash with multiple visible tabs

MidnightLib 1.5.6 - Fabric 1.21

by Motschen on Jun 12, 2024
Download

MidnightLib v1.5.6 for 1.21-rc1

View the changelog

  • Update to 1.21

MidnightLib 1.5.5 - NeoForge 1.20.6

by Motschen on Jun 8, 2024
Download

MidnightLib v1.5.5 for 1.20.6

View the changelog

MidnightLib 1.5.5 - Fabric 1.20.6

by Motschen on May 4, 2024
Download

MidnightLib v1.5.5 for 1.20.6

View the changelog

  • MidnightLib 1.5.5

MidnightLib 1.5.4 - Fabric 1.20.5

by Motschen on Apr 21, 2024
Download
  • Port to 1.20.5
  • Fix multiline centered comments

MidnightLib 1.4.2 - Forge 1.20.1

by Motschen on Dec 24, 2023
Download
  • Fixed crash at startup on dedicated servers

MidnightLib 1.5.3 - Fabric 1.20.4

by Motschen on Dec 19, 2023
Download

Fix modmenu integration

MidnightLib 1.5.2 - Fabric 1.20.4

by Motschen on Dec 11, 2023
Download
  • Cleanup of some code -> Overview button is now added via callbacks instead of a mixin
  • Unify client & server classes
    • Minor breaking change only affecting mods using the hiding functionality

MidnightLib 1.5.2 - NeoForge 1.20.4

by Motschen on Dec 11, 2023
Download
  • Native support for NeoForge (& dropped support for regular Forge)
  • Cleanup of some code -> Overview button is now added via callbacks instead of a mixin
  • Unify client & server classes
    • Minor breaking change only affecting mods using the hiding functionality

MidnightLib 1.5.1 - Fabric 1.20.4

by Motschen on Dec 7, 2023
Download
  • Port to 1.20.4
  • Add back fancy list background
  • File size optimizations (now just 50KB!!)
  • Update tooling

MidnightLib 1.5.0 - Forge 1.20.2

by Motschen on Sep 30, 2023
Download
  • Port to 1.20.2
  • "Reset" button now uses a custom icon (closes #25)
  • Config instances can now specify custom config change behavior (implement "writeChanges" method in your class; closes #33)
  • Remove TexturedOverlayButtonWidget (replaced by vanilla's TextIconButtonWidget)
  • Removed radialRainbow (used very rarely)
  • Updated AutoCommand to support editing list and float config values via commands on serverside installs
  • Reworded description
  • Fixed server crash on forge
  • Properly register mod configs automatically on Forge

MidnightLib 1.5.0 - Fabric 1.20.2

by Motschen on Sep 16, 2023
Download
  • Port to 1.20.2
  • "Reset" button now uses a custom icon (closes #25)
  • Config instances can now specify custom config change behavior (implement "writeChanges" method in your class; closes #33)
  • Remove TexturedOverlayButtonWidget (replaced by vanilla's TextIconButtonWidget)
  • Removed radialRainbow (used very rarely)
  • Updated AutoCommand to support editing list and float config values via commands on serverside installs
  • Reworded description
  • Forge & Quilt temporarily disabled until they release, as always

MidnightLib 1.4.1 - Fabric 1.20

by Motschen on Jun 9, 2023
Download

Fix tabs not being visible Re-enable Forge and Quilt support

MidnightLib 1.4.1 - Forge 1.20

by Motschen on Jun 9, 2023
Download

MidnightLib 1.4.1 - Quilt 1.20

by Motschen on Jun 9, 2023
Download
  • Fix tabs not being visible
  • Re-enable Forge and Quilt support
  • Fix #28

MidnightLib 1.4.0 - Fabric 1.20

by Motschen on May 22, 2023
Download
  • Updated to 1.20
  • Fixed many small issues
    • Long text not wrapping to new lines
    • Unsaved changes and scrollbar position resetting when game window size changes
    • Wrong value tooltips no longer showing since 1.19
1
2
3
4
5

Modrinth is open source.

main@016c3d7

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.