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

6.60M
1,115
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 (optional)

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 3 years ago
Updated last week
DescriptionGalleryChangelogVersions

Show all versions

1
2
5

MidnightLib 1.7.3 - NeoForge 1.21.4

by Motschen on May 13, 2025
Download

MidnightLib v1.7.3-neoforge+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Clean: some code cleanup
  • Optimize: remove unchanged translations in es_ar
  • Feat: remove checkbox widgets
  • Fix: conditions are not applied in default tab
  • Fix: adjust option title position
  • Feat: new method to manually add widgets
  • Update es_ar.json
  • Translation into Argentine Spanish (es_ar) for MidnightLib
  • Translation into Argentine Spanish (es_ar) for MidnightLib
  • Feat: respect TranslatableOption on enums

MidnightLib 1.7.3 - Fabric 1.21.4

by Motschen on May 13, 2025
Download

MidnightLib v1.7.3-fabric+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Clean: some code cleanup
  • Optimize: remove unchanged translations in es_ar
  • Feat: remove checkbox widgets
  • Fix: conditions are not applied in default tab
  • Fix: adjust option title position
  • Feat: new method to manually add widgets
  • Update es_ar.json
  • Translation into Argentine Spanish (es_ar) for MidnightLib
  • Translation into Argentine Spanish (es_ar) for MidnightLib
  • Feat: respect TranslatableOption on enums

MidnightLib 1.7.2 - NeoForge 1.21.4

by Motschen on Apr 21, 2025
Download

MidnightLib v1.7.2-neoforge+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Clean: remove unused import
  • Docs: improve JavaDocs
  • Feat: improve URL handling
    • feat: add clickable url for @Comment - chore: bump version 1.7.2-rc.2
  • Feat: 'visibleButLocked' now applies for all buttons
  • Feat: checkbox buttons next to boolean yes/no text buttons
  • Fix: improve identifier crash fix
    • adjust: optimize code & add comment
    • rollback: boolean field (CheckboxWidget -> ButtonWidget)
    • fix bug+: illegal Identifier cannot input character
    • fix bug: avoid the crash due to Identifier syntax not legitimate. - new feature: multiple expect values for @Condition - change: use net.minecraft.client.gui.widget.CheckboxWidget for boolean @Entry instead of net.minecraft.client.gui.widget.ButtonWidget - misc: cleanup for en_us.json and example code & bump version

MidnightLib 1.7.2 - Fabric 1.21.4

by Motschen on Apr 21, 2025
Download

MidnightLib v1.7.2-fabric+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Clean: remove unused import
  • Docs: improve JavaDocs
  • Feat: improve URL handling
    • feat: add clickable url for @Comment - chore: bump version 1.7.2-rc.2
  • Feat: 'visibleButLocked' now applies for all buttons
  • Feat: checkbox buttons next to boolean yes/no text buttons
  • Fix: improve identifier crash fix
    • adjust: optimize code & add comment
    • rollback: boolean field (CheckboxWidget -> ButtonWidget)
    • fix bug+: illegal Identifier cannot input character
    • fix bug: avoid the crash due to Identifier syntax not legitimate. - new feature: multiple expect values for @Condition - change: use net.minecraft.client.gui.widget.CheckboxWidget for boolean @Entry instead of net.minecraft.client.gui.widget.ButtonWidget - misc: cleanup for en_us.json and example code & bump version

MidnightLib 1.7.1 - NeoForge 1.21.4

by Motschen on Apr 5, 2025
Download

MidnightLib v1.7.1-neoforge+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Docs: improve multi-conditions example
  • Feat: optimize AutoCommand's file-size
  • Clean: improve entry access further
  • Feat: replace Hashtable with LinkedHashMap
  • Optimize: use hash tables to reduce complexity
  • Cleanup & suppress unused warnings
  • Chore: bump version
  • Add examples
  • Fix bugs: The condition update algorithm is chaotic and does not work properly when the condition values conflict new features: multi-conditions config is supported
  • Fix bug: the @Condition does not trigger in real-time to update the menu UI

MidnightLib 1.7.1 - Fabric 1.21.4

by Motschen on Apr 5, 2025
Download

MidnightLib v1.7.1-fabric+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Docs: improve multi-conditions example
  • Feat: optimize AutoCommand's file-size
  • Clean: improve entry access further
  • Feat: replace Hashtable with LinkedHashMap
  • Optimize: use hash tables to reduce complexity
  • Cleanup & suppress unused warnings
  • Chore: bump version
  • Add examples
  • Fix bugs: The condition update algorithm is chaotic and does not work properly when the condition values conflict new features: multi-conditions config is supported
  • Fix bug: the @Condition does not trigger in real-time to update the menu UI

MidnightLib 1.7.0 - NeoForge 1.21.4

by Motschen on Mar 28, 2025
Download

MidnightLib v1.7.0-neoforge+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Feat: conditions! + large cleanup
  • Clean: optimize translation files & metadata
  • Clean: various code improvements
  • Chore: bump version
  • Refactor: identifier item display
  • Clean: remove blend functions
  • Feat: minimal custom type adapter for Identifiers
  • Create ru_ru.json

MidnightLib 1.7.0 - Fabric 1.21.4

by Motschen on Mar 28, 2025
Download

MidnightLib v1.7.0-fabric+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Feat: conditions! + large cleanup
  • Clean: optimize translation files & metadata
  • Clean: various code improvements
  • Chore: bump version
  • Refactor: identifier item display
  • Clean: remove blend functions
  • Feat: minimal custom type adapter for Identifiers
  • Create ru_ru.json

MidnightLib 1.6.10 - NeoForge 1.21.4

by Motschen on Mar 20, 2025
Download

MidnightLib v1.6.10-neoforge+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Refactor: identifier item display
  • Clean: remove blend functions
  • Feat: minimal custom type adapter for Identifiers

MidnightLib 1.6.10 - Fabric 1.21.4

by Motschen on Mar 20, 2025
Download

MidnightLib v1.6.10-fabric+1.21.4 for 1.21.4

View the changelog

  • Chore: bump version
  • Refactor: identifier item display
  • Clean: remove blend functions
  • Feat: minimal custom type adapter for Identifiers

MidnightLib 1.6.9 - NeoForge 1.21

by Motschen on Feb 22, 2025
Download

MidnightLib v1.6.9-neoforge+1.21 for 1.21

View the changelog

MidnightLib 1.6.9 - Fabric 1.21

by Motschen on Feb 22, 2025
Download

MidnightLib v1.6.9-fabric+1.21 for 1.21

View the changelog

MidnightLib 1.6.9 - NeoForge 1.21.4

by Motschen on Feb 22, 2025
Download

MidnightLib v1.6.9-neoforge+1.21.4 for 1.21.4

View the changelog

  • Feat: maintain tab order

MidnightLib 1.6.9 - Fabric 1.21.4

by Motschen on Feb 22, 2025
Download

MidnightLib v1.6.9-fabric+1.21.4 for 1.21.4

View the changelog

  • Feat: maintain tab order

MidnightLib 1.6.8 - NeoForge 1.21.1

by Motschen on Feb 15, 2025
Download

MidnightLib v1.6.8-neoforge+1.21 for 1.21

View the changelog

MidnightLib 1.6.8 - Fabric 1.21.1

by Motschen on Feb 15, 2025
Download

MidnightLib v1.6.8-fabric+1.21 for 1.21

View the changelog

MidnightLib 1.6.8 - NeoForge 1.21.4

by Motschen on Feb 15, 2025
Download

MidnightLib v1.6.8-neoforge+1.21.4 for 1.21.4

View the changelog

  • Fix(neoforge): move command registration to post init
  • Feat: use enum variant name when missing translation
  • Feat: support non-primitive fields
  • Chore: improve version formatting & bump version
  • Fix: crash on pure Wayland sessions

MidnightLib 1.6.8 - Fabric 1.21.4

by Motschen on Feb 15, 2025
Download

MidnightLib v1.6.8-fabric+1.21.4 for 1.21.4

View the changelog

  • Fix(neoforge): move command registration to post init
  • Feat: use enum variant name when missing translation
  • Feat: support non-primitive fields
  • Chore: improve version formatting & bump version
  • Fix: crash on pure Wayland sessions

MidnightLib 1.6.7+1.21.1 - Fabric 1.21

by Motschen on Jan 27, 2025
Download

MidnightLib 1.6.7+1.21.1 - NeoForge 1.21

by Motschen on Jan 27, 2025
Download

MidnightLib v1.6.7+1.21.1+1.21 for 1.21

View the changelog

1
2
5

Modrinth is open source.

feat/theseus/tauri-v2@c5403db

© 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.