Перейти к содержимому
Mineforgian

MidnightLib

Common library providing a lightweight configuration system

22.1M загрузок2K подписчиковMITfabricforgeneoforgequilt

Обновлён 17 июня 2026 г. · опубликован 1 июня 2021 г.

  • The example config
  • Example config screen
  • User-friendly error handling
  • Sliders make number selection a charm.
  • Create lists containing Strings, Identifiers, Numbers, etc.
  • Use file- and directory-choosers!
MidnightLib is a lightweight library that provides common utils and a configuration system for mods.

Mod developers are allowed and encouraged to bundle it with their mods via Jar-in-Jar.
Every feature can be toggled in the library's own config screen/file.

Example configuration screen

Visit the new Wiki to get started now.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.9.3+26.2-neoforgeРелиз26.2neoforge17 июня 2026 г..jar (60 КБ)
1.9.3+26.2-fabricРелиз26.2fabric, quilt17 июня 2026 г..jar (59 КБ)
1.9.3+26.2-pre-3-fabricРелиз26.2-pre-3fabric, quilt4 июня 2026 г..jar (59 КБ)
1.9.3+26.1-neoforgeРелиз26.1, 26.1.1, 26.1.2neoforge2 мая 2026 г..jar (60 КБ)
1.9.3+26.1-fabricРелиз26.1, 26.1.1, 26.1.2fabric, quilt2 мая 2026 г..jar (59 КБ)
1.9.3+1.21.5-neoforgeРелиз1.21.4, 1.21.5neoforge2 мая 2026 г..jar (61 КБ)
1.9.3+1.21.8-fabricРелиз1.21.6, 1.21.7, 1.21.8fabric, quilt2 мая 2026 г..jar (58 КБ)
1.9.3+1.21.8-neoforgeРелиз1.21.6, 1.21.7, 1.21.8neoforge2 мая 2026 г..jar (61 КБ)
1.9.3+1.21.5-fabricРелиз1.21.4, 1.21.5fabric, quilt2 мая 2026 г..jar (59 КБ)
1.9.3+1.20.1-fabricРелиз1.20, 1.20.1fabric, quilt2 мая 2026 г..jar (58 КБ)
1.9.3+1.21.11-fabricРелиз1.21.11fabric, quilt2 мая 2026 г..jar (58 КБ)
1.9.3+1.21.10-fabricРелиз1.21.9, 1.21.10fabric, quilt2 мая 2026 г..jar (58 КБ)
1.9.3+1.21.1-fabricРелиз1.21, 1.21.1fabric, quilt2 мая 2026 г..jar (57 КБ)
1.9.3+1.21.11-neoforgeРелиз1.21.11neoforge2 мая 2026 г..jar (61 КБ)
1.9.3+1.21.1-neoforgeРелиз1.21, 1.21.1neoforge2 мая 2026 г..jar (60 КБ)

Показаны последние 15 из 150 версий. Все версии — на Modrinth.

Ченджлог

1.9.3+26.2-neoforgeРелиз26.2 · 17 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.2-fabricРелиз26.2 · 17 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.2-pre-3-fabricРелиз26.2-pre-3 · 4 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.1-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.1-fabricРелиз26.1, 26.1.1, 26.1.2 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.5-neoforgeРелиз1.21.4, 1.21.5 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.8-fabricРелиз1.21.6, 1.21.7, 1.21.8 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.8-neoforgeРелиз1.21.6, 1.21.7, 1.21.8 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases

Полная история изменений — на Modrinth.

Комментарии

Загружаем…